question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

npm install fails in CI due to web3

See original GitHub issue

Adding eth-gas-reporter results in npm install failing in CI

$ npm install
npm ERR! code ENOLOCAL
npm ERR! Could not install from "node_modules/eth-gas-reporter/node_modules/web3-providers-ws/websocket@git:/github.com/frozeman/WebSocket-Node.git#6c72925e3f8aaaea8dc8450f97627e85263999f2" as it does not contain a package.json file.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
abcoathupcommented, Jul 18, 2019

@cgewecke rebuilding my package-lock.json didn’t resolve the issue but updating to the new version of eth-gas-reporter did.

Travis-ci now building: https://travis-ci.org/abcoathup/rockstar/builds/560256227 So is a clean local npm install from a clone: https://github.com/abcoathup/rockstar

Thanks. I created the repo for the tutorial: https://forum.zeppelin.solutions/search?q=rockstar

Looks like this can be closed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

node.js - Installing web3 package, npm gave me an error that ...
Looks like your local .npm permissions are messed up. Just remove NPM cache by running: sudo rm -rf /home/taylor/.npm. and then try again....
Read more >
Common errors | npm Docs
Broken npm installation; Random errors; No compatible version found; Permissions errors ... Running a Vagrant box on Windows fails due to path length...
Read more >
web3 | Yarn - Package Manager
Troubleshooting and known issues. · Install react-app-rewired and the missing modules · Create config-overrides. · Within package. · If you want to hide...
Read more >
How we're making installation issues a thing of the past
Without NPM, not only would programming Truffle be nearly impossible, but programming anything complex in Javascript would be impossible: NPM lets developers ...
Read more >
npm err! code err_socket_timeout npm err! network socket ...
Your command cannot succeed, because npm fails to fetch some module due to internet connection problems. You can try using different internet connection...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found