-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[BUG] Updating npm as instructed by npm fails #2031
Comments
I'm getting the same error??? Started last night??? Did you figure out a solution?? Thanks for posting this i was going crazy thinking it was just mine... |
Me too, I just got this error from thursday 23rd, Anyone find a solution yet? ----EDIT---- This is my docker file (working with Vue-nuxt)
|
So i made a new react app... open terminal on your mac
open visual studio code create a new file save it in this folder named as copy below and paste in the file everything in these slashes... ////// //////////////FROM node:14 WORKDIR /usr/src/app COPY package.json . RUN npm install COPY . . EXPOSE 3000 CMD ["npm" , "start"] //////////////go back to terminal in this app directory docker rm --force cntr_delete_react_docker_app_1_1_1 on a mac you have docker desktop Hope this helps now back to trying to make my real app work |
FROM node:14 on your docker file not FROM node:latest |
As I commented from here: nodejs/docker-node#1379 Likewise, getting the issue with all v I seem to be getting a I made a tiny little test repo here, to display the issue: https://github.com/Harmelodic/test Reproduce by:
Temp workaround for me, until v
|
Related: #606 |
Duplicate of #606 |
Current Behavior:
npm
fails to update in the v15.0.1 Docker container when trying the commandnpm
prints out for updating.Expected Behavior:
Update completes successfully.
Steps To Reproduce:
NB: It succeeds in the v14 docker image:
Environment:
Docker version 19.03.13
macOS 10.15.7
The text was updated successfully, but these errors were encountered: