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

Outdated npm #238

Closed
kryvel opened this issue Feb 10, 2020 · 2 comments
Closed

Outdated npm #238

kryvel opened this issue Feb 10, 2020 · 2 comments

Comments

@kryvel
Copy link

kryvel commented Feb 10, 2020

Hi,
Is it possible to update images on hub.docker.com ?
There is bug in npm npm/cli#624
This issue was fixed in npm@6.13.6

I'm stuck on this in cypress/browsers:node12.14.0-chrome79-ff71
Looking into Dockerfile of base image, you install latest version of npm (6.13.4 at build time)
So it's no possible to install npm dependencies without updating npm globally

$ npm ci
npm WARN prepare removing existing node_modules/ before installation
npm ERR! code 128
npm ERR! Command failed: git clone --mirror -q git://github.com/speakeasyjs/speakeasy.git /root/.npm/tmp/git-clone-fe5c5522/.git
npm ERR! fatal: could not create leading directories of '/root/.npm/tmp/git-clone-fe5c5522/.git'
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-02-10T21_10_21_532Z-debug.log
@bahmutov
Copy link
Contributor

Could you use one of the newer images? The problem with rebuilding images is that there is a slight chance of new tools being installed that can completely break existing users. This image has been out for a while, so there are people using it to test already ...

@kryvel
Copy link
Author

kryvel commented Feb 12, 2020

I'm already building my own images based on your base image. Thanks for reply.
Closing issue

@kryvel kryvel closed this as completed Feb 12, 2020
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