npm install with error: `gyp` failed with exit code: 1

minho·2022년 4월 25일
0

맥os에서 window등 다른환경의 git파일을 clone할때 문제가 발생한다.
해결방법은 node_modules과 package-lock.json제거한뒤 다시 npm을 install 한다.

rm -rf node_modules
rm package-lock.json
npm update
npm install

profile
Live the way you think

0개의 댓글