-
Notifications
You must be signed in to change notification settings - Fork 0
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
npx hardhat gobind #14
Comments
I can reproduce this by initializing the default Typescript Hardhat project using Node v20.8.0 $ yarn hardhat compile
An unexpected error occurred:
TypeError: Cannot set property crypto of #<Object> which has only a getter
at Object.<anonymous> (/home/develop/mre/gobind/node_modules/@solarity/hardhat-gobind/src/abigen/wasm/wasm_exec_node.js:17:18)
at Module._compile (node:internal/modules/cjs/loader:1241:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
at Object.require.extensions.<computed> [as .js] (/home/develop/mre/gobind/node_modules/ts-node/src/index.ts:1608:43)
at Module.load (node:internal/modules/cjs/loader:1091:32)
at Function.Module._load (node:internal/modules/cjs/loader:938:12)
at Module.require (node:internal/modules/cjs/loader:1115:19)
at require (node:internal/modules/helpers:130:18)
at Object.<anonymous> (/home/develop/mre/gobind/node_modules/@solarity/hardhat-gobind/src/abigen/generator.js:1:1)
at Module._compile (node:internal/modules/cjs/loader:1241:14) |
same error, how to fix ? |
@helperShang Hey, you may need to downgrade the Node version (to |
I get this error when I do
npx hardhat gobind
TypeError: Cannot set property crypto of #<Object> which has only a getter
The text was updated successfully, but these errors were encountered: