I have started to create a Node js application using MEAN Stack so i have followed the steps in the following URL to intialize a node js Application using MEAN. Link
我已经开始使用MEAN Stack创建一个Node js应用程序,所以我按照以下URL中的步骤使用MEAN初始化节点js Application。链接
When i provide GRUNT or Started the Node js Application in Terminal, I am getting the following error.
当我在终端中提供GRUNT或启动节点js应用程序时,我收到以下错误。
events.js:72
throw er; // Unhandled 'error' event
^
Error: ENOENT, open '/home/vigneshmoha/Documents/node/branding/public/system/lib/bootstrap/dist/css/bootstrap.css'
[nodemon] app crashed - waiting for file changes before starting...
npm version 1.4.15
npm版本1.4.15
Node js version v0.10.28
节点js版本v0.10.28
MongoDB version v2.6.1
MongoDB版本v2.6.1
I haven't changed anything else. Am i missing anything?
我没有改变任何其他东西。我错过了什么吗?
5 个解决方案
#1
10
I am not sure about this but try installing bower with the command..
我不确定这一点,但尝试使用命令安装凉亭..
npm install -g bower
and then sudo bower install --allow -root
Now check if the files are created
然后sudo bower install --allow -root现在检查文件是否已创建
#2
5
try this
npm cache clean
npm install
#3
2
I just had the exact same problem (on Mac OS X 10.9). Running npm install without sudo fixed it. Seems like bower is causing some troubles when used with sudo.
我只是遇到了完全相同的问题(在Mac OS X 10.9上)。在没有sudo的情况下运行npm install修复它。看起来像凉亭在与sudo一起使用时会造成一些麻烦。
#4
1
This error might be also due to errors in your Nodejs application. Fix the errors. You might also need to install bower: npm install -g bower . tested on windows 10 and it worked.
此错误可能也是由于Nodejs应用程序中的错误造成的。修复错误。您可能还需要安装bower:npm install -g bower。在Windows 10上进行了测试,它运行良好。
#5
0
Had the same issue., tried to delete node_modules, did npm install., but the scenario remained same.
有同样的问题。,尝试删除node_modules,做了npm install。,但情况保持不变。
On restarting the system, it seems to be back to normal.
在重新启动系统时,它似乎恢复正常。
#1
10
I am not sure about this but try installing bower with the command..
我不确定这一点,但尝试使用命令安装凉亭..
npm install -g bower
and then sudo bower install --allow -root
Now check if the files are created
然后sudo bower install --allow -root现在检查文件是否已创建
#2
5
try this
npm cache clean
npm install
#3
2
I just had the exact same problem (on Mac OS X 10.9). Running npm install without sudo fixed it. Seems like bower is causing some troubles when used with sudo.
我只是遇到了完全相同的问题(在Mac OS X 10.9上)。在没有sudo的情况下运行npm install修复它。看起来像凉亭在与sudo一起使用时会造成一些麻烦。
#4
1
This error might be also due to errors in your Nodejs application. Fix the errors. You might also need to install bower: npm install -g bower . tested on windows 10 and it worked.
此错误可能也是由于Nodejs应用程序中的错误造成的。修复错误。您可能还需要安装bower:npm install -g bower。在Windows 10上进行了测试,它运行良好。
#5
0
Had the same issue., tried to delete node_modules, did npm install., but the scenario remained same.
有同样的问题。,尝试删除node_modules,做了npm install。,但情况保持不变。
On restarting the system, it seems to be back to normal.
在重新启动系统时,它似乎恢复正常。