Node.JS: Getting error : [nodemon] Internal watch failed: watch ENOSPC

后端 未结 12 688
小鲜肉
小鲜肉 2020-12-07 07:49

I just installed Node.js on my Ubuntu 14.04 operating system for the first time. I also installed npm. The next step in my installatio

12条回答
  •  攒了一身酷
    2020-12-07 08:17

    On running node server shows Following Errors and solutions:

    nodemon server.js

    [nodemon] 1.17.2

    [nodemon] to restart at any time, enter rs

    [nodemon] watching: .

    [nodemon] starting node server.js

    [nodemon] Internal watch failed: watch /home/aurum304/jin ENOSPC

    sudo pkill -f node
    

    or

    echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
    

提交回复
热议问题