Skip to main content
added 99 characters in body
Source Link

I had this problem. What worked was replacing the "truffle-hdwallet-provider" in the require method argument at here: const HDWalletProvider = require('truffle-hdwallet-provider');

with @truffle/hdwallet-provider

const HDWalletProvider = require('@truffle/hdwallet-provider');

and truffle compile finally worked.

But make sure you install it first: run this first:

$ npm install @truffle/hdwallet-provider

I had this problem. What worked was replacing the "truffle-hdwallet-provider" in the require method argument at here: const HDWalletProvider = require('truffle-hdwallet-provider');

with @truffle/hdwallet-provider

const HDWalletProvider = require('@truffle/hdwallet-provider');

and truffle compile finally worked.

I had this problem. What worked was replacing the "truffle-hdwallet-provider" in the require method argument at here: const HDWalletProvider = require('truffle-hdwallet-provider');

with @truffle/hdwallet-provider

const HDWalletProvider = require('@truffle/hdwallet-provider');

and truffle compile finally worked.

But make sure you install it first: run this first:

$ npm install @truffle/hdwallet-provider

added 6 characters in body
Source Link
Shane Fontaine
  • 18.3k
  • 20
  • 56
  • 83

I had this problem. What worked was replacing the "truffle-hdwallet-provider" in the require method argument at here: const HDWalletProvider = require('truffle-hdwallet-provider');const HDWalletProvider = require('truffle-hdwallet-provider');

with '@truffle/hdwallet-provider'@truffle/hdwallet-provider

const HDWalletProvider = require('@truffle/hdwallet-provider');const HDWalletProvider = require('@truffle/hdwallet-provider');

and truffle compiletruffle compile finally worked.

I had this problem. What worked was replacing the "truffle-hdwallet-provider" in the require method argument at here: const HDWalletProvider = require('truffle-hdwallet-provider');

with '@truffle/hdwallet-provider'

const HDWalletProvider = require('@truffle/hdwallet-provider');

and truffle compile finally worked.

I had this problem. What worked was replacing the "truffle-hdwallet-provider" in the require method argument at here: const HDWalletProvider = require('truffle-hdwallet-provider');

with @truffle/hdwallet-provider

const HDWalletProvider = require('@truffle/hdwallet-provider');

and truffle compile finally worked.

Source Link

I had this problem. What worked was replacing the "truffle-hdwallet-provider" in the require method argument at here: const HDWalletProvider = require('truffle-hdwallet-provider');

with '@truffle/hdwallet-provider'

const HDWalletProvider = require('@truffle/hdwallet-provider');

and truffle compile finally worked.