Nodemon错误“内部监视失败”

时间:2018-04-27 07:56:56

标签: node.js angular

我在Node.js控制台中收到此错误:

[nodemon] Internal watch failed: watch /home/dell/Downloads/Adaani5.0 
(copy).0/node_modules/engine.io/index.js ENOSPC

为此,我在互联网搜索后运行了两个命令:

首先

       ps -ef | grep node

        sudo kill -9

第二

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

错误仍然存​​在。

1 个答案:

答案 0 :(得分:-1)

sudo nodemon 

为我解决。或登录到Root用户。