Lesson 8 Hardhat node not working #3328
marcosmarcozxs
started this conversation in
General
Replies: 2 comments 2 replies
-
@marcosmarcozxs It shows the missing dependency issue, dependency is mentioned in your error. Copy the package.json file from the code repo and paste it into your project. After that delete the |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all!
I am really stucked in this, already looked over Stackoverflow and ETH foruns.
Cant really find a solution. :(
I am getting this error when try to call hardhat node to get the contract address to get going with the lesson.
yarn run v1.22.19
warning package.json: No license field
$ /Users/marcosmarcos/hh-fcc/hardhat-fund-me-fcc/node_modules/.bin/hardhat node
An unexpected error occurred:
Error: Cannot find module 'nomiclabs/hardhat-waffle'
Require stack:
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
at Function.Module._load (node:internal/modules/cjs/loader:804:27)
at Module.require (node:internal/modules/cjs/loader:1028:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/Users/marcosmarcos/hh-fcc/hardhat-fund-me-fcc/hardhat.config.js:2:1)
at Module._compile (node:internal/modules/cjs/loader:1126:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
at Module.load (node:internal/modules/cjs/loader:1004:32)
at Function.Module._load (node:internal/modules/cjs/loader:839:12)
at Module.require (node:internal/modules/cjs/loader:1028:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Users/marcosmarcos/hh-fcc/hardhat-fund-me-fcc/hardhat.config.js',
'/Users/marcosmarcos/hh-fcc/hardhat-fund-me-fcc/node_modules/hardhat/internal/core/config/config-loading.js',
'/Users/marcosmarcos/hh-fcc/hardhat-fund-me-fcc/node_modules/hardhat/internal/cli/cli.js'
]
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
marcosmarcos@MBP-de-Marcos hardhat-fund-me-fcc %
Thanks for your time!
Beta Was this translation helpful? Give feedback.
All reactions