我追随者安装MEAN堆栈应用程序的每条指令。尝试运行意味着堆栈时未处理的“错误”事件
在这一切我跑grunt
,当我去http://localhost:3000
我得到以下错误末尾:
Running "clean:0" (clean) task
Running "jshint:all" (jshint) task
>> 47 files lint free.
Running "csslint:src" (csslint) task
>> 5 files lint free.
Running "concurrent:tasks" (concurrent) task
Running "nodemon:dev" (nodemon) task
Running "watch" task
Waiting...
[nodemon] v1.0.20
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node --debug server.js`
debugger listening on port 5858
Mongoose: packages.findOne({ name: 'config' }) { fields: undefined }
3000
Mean app started on port 3000 (development)
Mongoose: users.ensureIndex({ email: 1 }) { safe: undefined, background: true, unique: true }
Mongoose: users.ensureIndex({ username: 1 }) { safe: undefined, background: true, unique: true }
GET/304 41.185 ms - -
events.js:72
throw er; // Unhandled 'error' event
^
Error: ENOENT, open '/var/www/finnviz/bower_components/bootstrap/dist/css/bootstrap.css'
[nodemon] app crashed - waiting for file changes before starting...
我搜查,发现this answer,但这似乎并没有这样的情况,当我运行ps aux | grep node
我没有得到任何正在运行的进程:
trufa 14763 0.0 0.0 23492 956 pts/14 S+ 15:39 0:00 grep --color=auto node
我经历了很多答案搜查,但似乎都不适用。有些人建议change the port。我试过了,错误是一样的。
有关如何进行的任何建议?
我给它一个尝试,回来给你,谢谢运行另一台服务器! – Trufa 2014-09-25 15:27:01
谢谢你解决了这个问题。 – Trufa 2014-09-25 17:19:20