-
[nestjs] nest new 오류 (ts-jest)etc. 2023. 2. 28. 21:18
nest new 키워드로 nest 프로젝트를 만드려고 하는데 아래의 문구가 뜨면서 패키지 설치가 실패되었다고 한다.
▸▹▹▹▹ Installation in progress... ☕ Failed to execute command: yarn install --silent ✖ Installation in progress... ☕ 🙀 Packages installation failed! In case you don't see any errors above, consider manually running the failed command yarn install to see more details on why it errored out찾아보니 설치하는 라이브러리 중 ts-jest가 KT와 관련하여 문제가 있다고 한다.
[Bug]: npm install hang · Issue #3992 · kulshekhar/ts-jest
Version 27.1.4 Steps to reproduce init new project cd ~ mkdir ts-jest-hang-test cd ts-jest-hang-test npm init -y install ts-jest npm i -D ts-jest Expected behavior install successfully Actual behav...
github.com
안정될 때까지 npm mirror를 사용하여 해결할 수 있다고...
npm에서는 npm registry (http://registry.npmjs.org/)을 통해 모듈을 설치하게 되는데 불안정할 경우 npm registry의 미러 registry 주소를 사용하여 설치할 수 있다.
npmjs.cf
The npmjs.cf mirror is available on Cloudflare's edge locations in North America, South America, Europe, Africa, Asia, and Australia.
npmjs.cf
아래 명령 입력 후 다시 nest 패키지를 설치하면 설치가 성공적으로 된다.
npm config set registry https://registry.npmjs.cf/설치 후 다시 원래로 registry로 설정하면 된다.
npm set registry https://registry.npmjs.org/반응형'etc.' 카테고리의 다른 글
github actions으로 GCP app engine 배포하기 (0) 2023.04.17 한줄기록 (0) 2023.04.07 [Test] 테스트 코드 작성? (0) 2023.01.29 [Cookie] 다른 도메인 간의 쿠키 전송 (0) 2022.12.28 [electron] gatsby + electron으로 데스크탑 앱 배포 (0) 2022.12.18