Infrastructure
npm i 안될때 해결법 (git repo관련오류)
RuTel
2021. 11. 26. 22:09
728x90
npm ERR! code EISGIT
...
npm ERR! git /Users/*****/node_modules/path-directories: Appears to be a git repo or submodule.
와 같은 에러로그를 뿜으며 설치가 안될 때
rm -rf node_modules/*/.git
프로젝트 경로에서 위 파일 삭제 후 다시 npm i
아님 그냥 노드모듈 폴더를 날리고 새로 인스톨하자