강의

멘토링

커뮤니티

인프런 커뮤니티 질문&답변

카도아보님의 프로필 이미지
카도아보

작성한 질문수

Vue.js 끝장내기 - 실무에 필요한 모든 것

API 서버 실행 및 확인

npm run de 오류

작성

·

310

1

] } npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! server@1.0.0 start: `node dist/app.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the server@1.0.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\ParkWonkyoung\AppData\Roaming\npm-cache\_logs\2021-09-11T08_12_03_087Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! server@1.0.0 restart: `rimraf dist && npm run build && npm run start` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the server@1.0.0 restart script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\ParkWonkyoung\AppData\Roaming\npm-cache\_logs\2021-09-11T08_12_03_132Z-debug.log [nodemon] app crashed - waiting for file changes before starting...

-----

npm run dev 하면 이렇게 에러가뜹니다.  

어떻게 하면 좋을까요?

답변 1

0

캡틴판교님의 프로필 이미지
캡틴판교
지식공유자

엇 이거 말씀하신 건가요? 그 아래 2가지 한번 확인해 주시겠어요?

- 현재 로컬 컴퓨터의 Node,js, NPM 버전

- node.js 프로젝트에 npm i로 node_modules가 정상적으로 설치가 되어 있는지

카도아보님의 프로필 이미지
카도아보

작성한 질문수

질문하기