dev/nestjs

nestjs 프로젝트 생성 시 오류 (Failed to execute command: npm install --silent)

wlrn566 2023. 11. 1. 11:00

nestjs 프로젝트를 생성하는데 오류가 발생했다.

 

nest new nest_1

 

 

 

인터넷에서 찾아보니 kt회선 문제라도 해서 registry를 바꿔서 설치하라고 하는 방법이 있었다.

 

npm config set registry https://registry.npmjs.cf/

nest new nest_1

npm config set registry https://registry.npmjs.org/

 

 

이렇게 해도 오류가 뜬다면 sudo를 이용해서 생성하자..

 

sudo nest new nest_1