Error running ignition when type
in package.json
is module
: require() of ES Module ... not supported
#6095
Labels
type
in package.json
is module
: require() of ES Module ... not supported
#6095
Version of Hardhat
2.22.17
What happened?
Using ubuntu 24.04.01 with node 20.17.0, if I start a project with hardhat following the standard steps, and in the initialization with
npm init
I choosetype: module
when I try to run:it produces the following error:
This problem doesn't ocurr if during initialization with
npm init
I usetype: commonjs
Minimal reproduction steps
and in another terminal
Search terms
No response
The text was updated successfully, but these errors were encountered: