【问题标题】:Nodemon error "Internal watch failed"Nodemon 错误“内部监视失败”
【发布时间】:2018-10-08 00:45:04
【问题描述】:

我的 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

并且错误仍然存​​在。

【问题讨论】:

  • 更改手表数量后是否重新启动?

标签: node.js angular


【解决方案1】:
sudo nodemon 

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

【讨论】:

    猜你喜欢
    • 2018-04-06
    • 2016-04-12
    • 2020-05-05
    • 2020-08-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-12-11
    • 1970-01-01
    相关资源
    最近更新 更多