본문 바로가기

node

npm시 sill idealTree buildDeps에서 멈추는 현상

npm install ts-jest 실행시

sill idealTree buildDeps ~~~ 에서 진행이 안되는 현상이 발생함

 

해결방법 (packge-lock.json 을 삭제하고 하라는데 안된다 ㅠㅠ)

step 1. npm registry 변경

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

 

step2. 다시 시도

$ npm install ts-jest

 

step3. npm registry 원복

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

 

하니까 해결이 되었다!!

 

 

 

 


참고사이트

https://www.inflearn.com/questions/779041/solved-nestjs-%ED%94%84%EB%A1%9C%EC%A0%9D%ED%8A%B8-%EC%83%9D%EC%84%B1-%EC%8B%A4%ED%8C%A8

 

[SOLVED] NestJS 프로젝트 생성 실패 - 인프런 | 질문 & 답변

KT망을 사용 중일 경우 ts-jest가 설치되지 않는 문제가 있습니다.해당 문제는 npm의 registry를 미러 서버로 설정한 뒤 nest new~를 통해 프로젝트를 생성하고, 다시 원 서버로 복구하시면 됩니다.npm conf

www.inflearn.com

 

https://ggodong.tistory.com/318

 

npm sill idealtree buildDeps에서 멈추는 현상

npm i express --save를 했는데, sill idealTree buildDeps 블라블라에서 진행이 안되어서, 어떻게 하면 할 수 있지 알아봤는데 package-lock.json을 삭제하기 => 안됨 npm install --verbose => 안됨 npm set registry http://regis

ggodong.tistory.com

 

'node' 카테고리의 다른 글

[ngrok] 외부에서 로컬로 접속해서 개발하기  (0) 2022.05.17
NVM 자주쓰는 명령어  (0) 2022.03.23
mac homebrew로 nvm 설치  (0) 2022.03.23
npm version 의존성 관리  (0) 2022.02.07
npm private repository 배포  (0) 2022.02.07