개발이야기
npm install - ELIFECYCLE 에러가 나면?
준호씨
2020. 10. 29. 00:10
반응형
npm install을 할 때 ELIFECYCLE 오류가 발생하는 경우가 있습니다.
그럴 때는 cache를 강제 clean 하고, node_modules 디렉터리 삭제, package-lock.json을 삭제한 후 다시 npm install을 하면 됩니다.
$ npm cache clean --force
$ rm -rf node_modules package-lock.json
$ npm install
npm run build에서 오류가 나면 코드에 문제가 없는지 잘 확인해 봅니다.
참고
stackoverflow.com/questions/42308879/how-to-solve-npm-error-npm-err-code-elifecycle
How to solve npm error "npm ERR! code ELIFECYCLE"
I'm trying to learn react, so I have this sample code for the full-stack react voting app, and I am trying to get it to work but after running npm install followed by npm start I receive the follow...
stackoverflow.com
반응형