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.

HD-wallet-provider cannot be installed with npm

See original GitHub issue

Issue

I somehow can’t install the hdwallet-provider. When I’m in my project directory I’m using npm i @truffle/hdwallet-provider but I only receive errors “npm ERR! enoent This is related to npm not being able to find a file.” Could there be a problem with hosting the file?

Steps to Reproduce

Latest truffle version v5.1.4 Latest npm version 6.13.4

Expected Behavior

I would expect the package to be installed into my project directory and be ready to be used.

Actual Results

PS C:\Coding\blockchain-toolkit> npm i @truffle/hdwallet-provider npm ERR! code ENOENT npm ERR! syscall spawn git npm ERR! path git npm ERR! errno ENOENT npm ERR! enoent Error while executing: npm ERR! enoent undefined ls-remote -h -t https://github.com/trufflesuite/provider-engine.git npm ERR! enoent npm ERR! enoent npm ERR! enoent spawn git ENOENT npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent

Environment

  • Operating System:
  • Ethereum client:
  • Truffle version (v.5.1.4):
  • node version (v12.14.0):
  • npm version (6.13.4):

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:18 (5 by maintainers)

github_iconTop GitHub Comments

6reactions
cepoiuanamariacommented, Jan 12, 2022

Try: npm i @truffle/hdwallet-provider@next this worked for me

0reactions
king112olacommented, Sep 23, 2022

Try: npm i @truffle/hdwallet-provider@next this worked for me

this worked, thx

Read more comments on GitHub >

github_iconTop Results From Across the Web

@truffle/hdwallet-provider - npm
Start using @truffle/hdwallet-provider in your project by running `npm i ... Install. npm i @truffle/hdwallet-provider ...
Read more >
npm - I am facing problem in installing @truffle/hdwallet provider
All you need is git installed in your PC. If installed type this command in cmd git --version . If it returns any...
Read more >
Error: Cannot find module 'truffle-hdwallet-provider'
Try installing @truffle/hdwallet-provider like this in the console (same location from where you're deploying): npm install ...
Read more >
Truffle hdwallet provider installation issue
I'm getting an error when trying to install the truffle hdwallet provider ... npm ERR! fatal: Could not read from remote repository. npm...
Read more >
Npm install @truffle/hdwallet-provider does not work on ...
I've asked for help in the Truffle Gitter before filing this issue. Issue Cannot npm install @truffle/hdwallet-provider on macOS Catalina 10.15 ...
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