You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deploying to eth-sepolia...
Error HH19: Your project is an ESM project (you have "type": "module" set in your package.json) but your Hardhat config file uses the .js extension.
Rename the file to use the .cjs to fix this problem.
For more info go to https://hardhat.org/HH19 or run Hardhat with --show-stack-traces
Deployment failed: Error: Command failed: npx hardhat deploy --network eth-sepolia
at genericNodeError (node:internal/errors:983:15)
at wrappedFn (node:internal/errors:537:14)
at checkExecSyncError (node:child_process:889:11)
at execSync (node:child_process:961:15)
at Object. (/home/user01/repos/experiments/web3/test-projects/aa-alchemy/packages/hardhat/chainDeploy.ts:17:11)
at Module._compile (node:internal/modules/cjs/loader:1434:14)
at Module.m._compile (/home/user01/repos/experiments/web3/test-projects/aa-alchemy/node_modules/ts-node/src/index.ts:1618:23)
at Module._extensions..js (node:internal/modules/cjs/loader:1518:10)
at Object.require.extensions. [as .ts] (/home/user01/repos/experiments/web3/test-projects/aa-alchemy/node_modules/ts-node/src/index.ts:1621:12)
at Module.load (node:internal/modules/cjs/loader:1249:32) {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 3291,
stdout: null,
stderr: null
}
Expected Behavior
deploys contracts with no errors
Steps To Reproduce
** environment should be wsl
npx create-web3-dapp@latest
network selected: ethereum
project name: aa-alchemy
yarn
yarn deploy
Is there an existing issue for this?
Which method was used to setup Scaffold-Alchemy?
npx create-web3-dapp@latest
Current Behavior
Deploying to eth-sepolia...
Error HH19: Your project is an ESM project (you have "type": "module" set in your package.json) but your Hardhat config file uses the .js extension.
Rename the file to use the .cjs to fix this problem.
For more info go to https://hardhat.org/HH19 or run Hardhat with --show-stack-traces
Deployment failed: Error: Command failed: npx hardhat deploy --network eth-sepolia
at genericNodeError (node:internal/errors:983:15)
at wrappedFn (node:internal/errors:537:14)
at checkExecSyncError (node:child_process:889:11)
at execSync (node:child_process:961:15)
at Object. (/home/user01/repos/experiments/web3/test-projects/aa-alchemy/packages/hardhat/chainDeploy.ts:17:11)
at Module._compile (node:internal/modules/cjs/loader:1434:14)
at Module.m._compile (/home/user01/repos/experiments/web3/test-projects/aa-alchemy/node_modules/ts-node/src/index.ts:1618:23)
at Module._extensions..js (node:internal/modules/cjs/loader:1518:10)
at Object.require.extensions. [as .ts] (/home/user01/repos/experiments/web3/test-projects/aa-alchemy/node_modules/ts-node/src/index.ts:1621:12)
at Module.load (node:internal/modules/cjs/loader:1249:32) {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 3291,
stdout: null,
stderr: null
}
Expected Behavior
deploys contracts with no errors
Steps To Reproduce
** environment should be wsl
npx create-web3-dapp@latest
network selected: ethereum
project name: aa-alchemy
yarn
yarn deploy
Anything else?
No response