Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm install failed after clone #96

Open
minjune8506 opened this issue Feb 3, 2023 · 2 comments
Open

npm install failed after clone #96

minjune8506 opened this issue Feb 3, 2023 · 2 comments

Comments

@minjune8506
Copy link

minjune8506 commented Feb 3, 2023

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
Copy link

same error in mac m1

@bao-nguyen-khac
Copy link

i remove package-lock.json and solve this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants