개인공부

맥북 업데이트 후 npm install 에러??(gyp: No Xcode or CLT version detected!)

하이후에호 2021. 6. 8. 10:17
반응형

다음과 같은 에러가 난다.

gyp: No Xcode or CLT version detected!
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1

xcode를 재 설치해주면 해결된다.. 이런것도 같이 업데이트 해줫으면 좋겠다.

sudo rm -r -f /Library/Developer/CommandLineTools
xcode-select --install
반응형