我在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
错误仍然存在。
答案 0 :(得分:-1)
sudo nodemon
为我解决。或登录到Root用户。