Open snaag opened 2 years ago
npm cache clear
npm cache clear --force
## ERR! Fix the upstream dependency conflict, or retry (버전 충돌)
* [angularjs - Unable to resolve dependency tree error when installing npm packages - Stack Overflow](https://stackoverflow.com/questions/64573177/unable-to-resolve-dependency-tree-error-when-installing-npm-packages)
* `npm install --force` 혹은 `npm install --legacy-peer-deps` 하면 됨
## ERR! code ERR_SOCKET_TIMEOUT (타임아웃)
* [angular - npm ERR! code ERR_SOCKET_TIMEOUT on creating new project using ng new appname - Stack Overflow](https://stackoverflow.com/questions/67657599/npm-err-code-err-socket-timeout-on-creating-new-project-using-ng-new-appname)
* 타임아웃을 크게 설정해준다
```shell
npm config set fetch-retry-mintimeout 20000
npm config set fetch-retry-maxtimeout 120000
npm config ls -l # 설정값 보기