【发布时间】:2016-04-12 06:45:35
【问题描述】:
我刚刚在我的Ubuntu 14.04 操作系统上第一次安装了Node.js。我还安装了npm。我安装过程的下一步是安装nodemon。这一切都很好。
但是,当我通过在命令行中输入 nodemon app.js 来运行 nodemon 时,我收到以下错误...
[nodemon] 1.8.1
[nodemon] to restart at any time, enterrs
[nodemon] watching: *.*
[nodemon] startingnode app.js
[nodemon] Internal watch failed: watch ENOSPC
在命令行下面的错误...
alopex@Alopex:~/Desktop/coding_dojo/week-9/javascript/node/testing_node$ Hello World
为什么会这样?这是 nodemon 的正常行为吗?如果没有,我该如何解决?
附注...
1) app.js 是一个 Javascript 文件,其中包含 console.log(111)。
2) node 版本为v0.10.25
3) npm 版本为1.3.10
4) nodemon 版本为1.8.1
5) ubuntu 版本是...
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
【问题讨论】:
标签: javascript node.js