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

Installation Guide issue #2

Open
pakistanimoon opened this issue May 30, 2023 · 0 comments
Open

Installation Guide issue #2

pakistanimoon opened this issue May 30, 2023 · 0 comments

Comments

@pakistanimoon
Copy link

pakistanimoon commented May 30, 2023

installation steps explain step 2 as
download truffle dependencies using npm install
but there is no package.json file exist inside blockchain folder how could npm install work there.
to overcome this issue i first executed npm install @truffle/hdwallet-provider it sidplayed error of missing package that was
Error: Cannot find module '@truffle/hdwallet-provider'
to remove this error i executed npm install @truffle/hdwallet-provider then truffle compile it worked fine.
or we need to add package.json file inside blockchain folder with code

{
  "dependencies": {
    "@truffle/hdwallet-provider": "^2.1.11"
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant