
2_ npm install 에러 (git ssh 경로 이슈)
issue
2022.07.06.
npm install 에러 (git ssh 경로 이슈)
npm install 경로가 ssh로 되어있어 발생하는 이슈다.
이 이슈는 ssh 경로말고 https 경로로 받게하면 해결된다. (사내망 보안 때문에 ssh 경로로 안받아지는거일듯? 정확한 원인은 모르겠다.)
아래와 같이 git config 설정을 바꿔주면 해결된다.
git config --global url."https://github.com/".insteadOf git@github.com:
git config --global url."https://".insteadOf git://