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 failed

See original GitHub issue
  • System: windows10 x64
  • npm version: 6.13.1
  • nodejs version: 12.16.3

when I run command npm install --save ethers,

npm ERR! code EINVALIDPACKAGENAME npm ERR! Invalid package name "@sindresorhus_is@0.14.0@@sindresorhus": name can not start with an underscore; name can only contain URL-friendly characters npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Bruce\AppData\Roaming\npm-cache_logs\2020-05-12T06_44_06 696Z-debug.log

How to fix it, I find nothing about this error.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ricmoocommented, May 13, 2020

You could subclass Wallet and do that (call super, passing in the default provider).

But you probably don’t always want all your wallets automatically connected to mainnet. Your test cases will usually connect to a dev network or in-process provider and your users may be using other networks.

Also, a lot of times you will want a Wallet with no provider (or even network access) at all. 😃

0reactions
ExodusKingslayercommented, May 13, 2020

It’s right! Many Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm install error from the terminal - Stack Overflow
Running just "npm install" will look for dependencies listed in your package.json. The error you're getting says that you don't have a package.json...
Read more >
5 Ways to Fix the Npm Install Not Working Issue
Way 1. Make Sure Npm Is Installed · Way 2. Make Sure There Is a Package.json File · Way 3. Delete Lock File...
Read more >
Common errors | npm Docs
Possible temporary npm registry glitch, or corrupted local server cache. Run npm cache clean and/or try again later. · This can be caused...
Read more >
NPM install error - Material Design for Bootstrap
Trying to install MDB pro 4.19.2 just downloaded and ran npm install but getting this error of sha512 not matching. Can someone tell...
Read more >
How to Solve the Angular NPM Error - C# Corner
The error in NPM, 'error package install failed, see above', can occur when the user creates a new project in Angular using Node.js...
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