Closed shakori999 closed 2 years ago
I'm also having this issue
@shakori999 im having the exact same problem. locally installs fine. crashes 9/10 times when building from docker. i see you closed the issue what was your resolution?
Some servers might be blocked in your country or by your ISP. Try using VPN.
This happens for me in github actions, I can't believe that they are blocked by any ISP. @mertyildiran
@K0IN in my case VPN solved the issue on my machine. It could be an address resolution issue as well. I'm not sure about GitHub Actions but I agree that it shouldn't be a blocked IP or domain issue in case of any CI provider. I just recommended trying VPN.
If you're coming into this. Attempt building your docker image using the official base image FROM node:14 or latest.
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
I want to build a docker-compose for a taxi-app project I'm working on. and just to be clear I can install any package normally with
npm i [any package]
when i rundocker-compose up -d --build
Expected Behavior
built the docker container without any problem,
Steps To Reproduce
docker-compose up -d --build
Environment
; "builtin" config from C:\Program Files\nodejs\node_modules\npm\npmrc
prefix = "C:\Users\shako\AppData\Roaming\npm"
; "user" config from C:\Users\shako.npmrc
http = "http://localhost:3128" registry = "https://registry.npmjs.org/"
; node bin location = C:\Program Files\nodejs\node.exe ; cwd = C:\Users\shako\Desktop\taxi-app\client ; HOME = C:\Users\shako ; Run
npm config ls -l
to show all defaults.