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

Docker build failing for npm install #2552

Closed
yogesh-kamble opened this issue Aug 11, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@yogesh-kamble
Copy link

commented Aug 11, 2018

npm ERR! code EINTEGRITY
npm ERR! sha1-5CGiqOINawgZ3yiQj3glJrlt0f4= integrity checksum failed when using sha1: wanted sha1-5CGiqOINawgZ3yiQj3glJrlt0f4= but got sha1-1jJdG1NZGEDm+dNrQtjJeTOo8aw=. (8955 bytes)
http fetch GET 200 https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz 3557ms
http fetch GET 200 https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.1.0.tgz 5191ms
http fetch GET 200 https://registry.npmjs.org/debug/-/debug-2.6.9.tgz 2768ms
http fetch GET 200 https://registry.npmjs.org/mime/-/mime-2.3.1.tgz 3899ms
http fetch GET 200 https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz 8769ms
http fetch GET 200 https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz 7436ms
http fetch GET 200 https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz 29426ms

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-08-11T06_24_20_544Z-debug.log
The command '/bin/sh -c npm install' returned a non-zero code: 1

getting above error when running docker-compose build

I am working on Ubuntu 16.04

@yogesh-kamble

This comment has been minimized.

Copy link
Author

commented Aug 11, 2018

Issue automatically solved by just changing network... not sure how package.json is depends on network .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.