Self-Study/계란으로 바위치기
[NPM] npm run 명령어가 갑자기 안되는 경우
References https://jnoony-code.tistory.com/9 https://icerabbit.tistory.com/78 서론 package.json에서 이 기능 저 기능 추가 후 npm run 명령어를 실행 하다 보면 간혹 뜨는 에러가 있다. [error]This is probably not a problem with npm. There is likely additional logging output above. 이 경우 node_modules에 설치된 버전과 package.json 버전이 서로 맞지 않는 등 복합적인 이유로 충돌이 나는 케이스 이므로 해당 프로젝트에 있는 node_module들을 정리할 필요가 있다. 솔루션 터미널을 열고 아래와 같은 방법으로 npm 캐시를 정리한다...
2022. 9. 13. 14:45
최근댓글