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
덕분에 문제가 해결되었습니다. – Trufa