npm install failed after clone
minjune8506 opened this issue · 2 comments
minjune8506 commented
after cloning the project npm install failed
Apple M1 Ventura 13.0.1
npm version : 9.4.1
npm ERR! code DEPTH_ZERO_SELF_SIGNED_CERT
npm ERR! errno DEPTH_ZERO_SELF_SIGNED_CERT
npm ERR! request to https://npm.styque.de/yallist/-/yallist-2.1.2.tgz failed, reason: self-signed certificate
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/minjune/.npm/_logs/2023-02-03T08_57_20_123Z-debug-0.log
this is a history that my zsh wrote
10029 git clone git clone https://github.com/lujakob/nestjs-realworld-example-app.git\n
10030 git clone https://github.com/lujakob/nestjs-realworld-example-app.git\n
10031 cd nestjs-realworld-example-app
10032 ls
10033 npm install
i tried to attach the log file but it is TLTR so i didn't attach it
if you want to see the log file also, leave a comment plz.
++ after i exetue npm config set strict-ssl false
i got this error
npm ERR! code E404
npm ERR! 404 Not Found - GET https://npm.styque.de/yallist/-/yallist-2.1.2.tgz
npm ERR! 404
npm ERR! 404 'yallist@https://npm.styque.de/yallist/-/yallist-2.1.2.tgz' is not in this registry.
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/minjune/.npm/_logs/2023-02-03T09_06_19_510Z-debug-0.log
bao-nguyen-khac commented
same error in mac m1
bao-nguyen-khac commented
i remove package-lock.json and solve this problem