nestjs-realworld-example-app
nestjs-realworld-example-app copied to clipboard
npm install error after cloning repo.
Getting error when running npm install.
- Clone repo
- cd nestjs-realworld-example-app
- npm install
Get the following error.
FetchError: request to https://npm.styque.de/which/-/which-1.3.0.tgz failed, reason: connect ECONNREFUSED 89.31.143.1:443
using yarn instead of npm
using yarn instead of npm
still warn,how can i do ?
I solved it by adding -d
flag, so npm install -d
.
I solved it by adding
-d
flag, sonpm install -d
.
Hi @suraneti I followed this and it worked but I wanted to understand it a little better what does -d do?
Happens on Node 16, works for me on Node 14.
I'm having the same issue. I'm on Node 14. The npm install -d
does not work for me.
Update: using Yarn worked.
After cloning the repo cd to the project directory.
Then simply type yarn
and press Enter.
Just remove package-lock.json
and yarn.log
file
I found this issue on build to the product with Docker-file
and I fixed it with .dockerignore
Using yarn helped me in similar issue