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

后端 未结 12 724
小鲜肉
小鲜肉 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 07:56

    [nodemon] Internal watch failed: watch /home/Document/nmmExpressServer/bin ENOSPC
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! nmmexpressserver@0.0.0 start: `nodemon ./bin/www`
    npm ERR! Exit status 1
    npm ERR! 
    npm ERR! Failed at the nmmexpressserver@0.0.0 start script.
    

    This is the error I got when running nodemon ./bin/www.

    The solution was closing an Atom window that had a entire directory of folders open in the project window.

    I don't know why, but I'm assuming Atom and nodemon use similar processes to watch files/folders.

提交回复
热议问题