안녕하세요 상훈입니다.
그간 자주 npm run dev / npm run 에러가 발생하였었는데, 오늘에서야 진짜 이유를 알았습니다.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ development: `mix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ development 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! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ dev: `npm run development`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ dev 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 i -g npm@latest
바로 npm의 최신 버전 설치였습니다.
제가 얼마전에 npm 설치를 했었기에 막연하게 최신버전이겠거니 해서 신경 자체를 안썼습니다.
그러나 오늘 알게되었습니다...... 후.... 깊은 brain crack이 찾아오네요 ㅎㅎ
화이팅입니다.
참고
npm run dev error, node modules 에러
npm run dev 명령어를 쳤는데 계속 아래와 같은 에러가 출력된다 -------npm run dev error------ #이것도 뜨고 node_modules/cross-env/src/index.js:23 #이것도 뜨고 npm ERR! cb.apply is not a function #이것..
bug41.tistory.com
[ Vue.js ] Axios 사용하는 방법 / json (0) | 2021.10.06 |
---|---|
[ Vue.js ] Vue - LifeCycle / 뷰 라이프사이클 알아보기 (0) | 2021.10.06 |
[ Npm ] Npm Install Error - node-sass@4.13.1 postinstall: `node scripts/build.js` (0) | 2021.09.30 |
[ Vue.js ] 예제 추천 (무료) (1) | 2021.09.29 |
[ Vue.js ] Vue.createApp is not working but Is working with new Vue() method / 에러 해결 (1) | 2021.09.29 |
댓글 영역