npx hardhat -h errors #7930
Unanswered
solidcodes
asked this question in
Troubleshooting
Replies: 2 comments
-
|
Hey @solidcodes, you are running This sounds like hardhat is not properly installed, or that your If you replace your import { defineConfig } from "hardhat/config";
export default defineConfig({
solidity: {
version: "0.8.28",
},
});Then rerun |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
well, when I copy pasted your codes. But I'm following this tutorial below, and it produces errors. |
Beta Was this translation helpful? Give feedback.
0 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.
-
when I type npx hardhat -h in bash, these are the errors below, how to fix them? I'm using hardhat version 3.
An unexpected error occurred:
TypeError: Class extends value undefined is not a constructor or null
at Object. (C:\Users\solid\hardhat-tutorial\node_modules@nomicfoundation\hardhat-verify\src\internal\errors.ts:9:41)
at Module._compile (node:internal/modules/cjs/loader:1706:14)
at Object..js (node:internal/modules/cjs/loader:1839:10)
at Module.load (node:internal/modules/cjs/loader:1441:32)
at Function._load (node:internal/modules/cjs/loader:1263:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
at Module.require (node:internal/modules/cjs/loader:1463:12)
at require (node:internal/modules/helpers:147:16)
at Object. (C:\Users\solid\hardhat-tutorial\node_modules@nomicfoundation\hardhat-verify\src\index.ts:27:1)
If you think this is a bug in Hardhat, please report it here: https://hardhat.org/report-bug
Beta Was this translation helpful? Give feedback.
All reactions