Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- yarn deploy
- yarn run v1.22.19
- $ yarn workspace @scaffold-eth/hardhat deploy
- $ hardhat deploy --export-all ../react-app/src/contracts/hardhat_contracts.json
- โ Help us improve Hardhat with anonymous crash reports & basic usage data? (Y/n) ยท true
- Nothing to compile
- An unexpected error occurred:
- TypeError: fs.promises.rm is not a function
- at /home/hftamayo/sourcecode/growic/scaffold-eth/packages/hardhat/node_modules/hardhat-abi-exporter/tasks/clear_abi.js:60:23
- at async Promise.all (index 0)
- at SimpleTaskDefinition.action (/home/hftamayo/sourcecode/growic/scaffold-eth/packages/hardhat/node_modules/hardhat-abi-exporter/tasks/clear_abi.js:44:3)
- at Environment._runTaskDefinition (/home/hftamayo/sourcecode/growic/scaffold-eth/packages/hardhat/node_modules/hardhat/src/internal/core/runtime-environment.ts:217:14)
- at Environment.run (/home/hftamayo/sourcecode/growic/scaffold-eth/packages/hardhat/node_modules/hardhat/src/internal/core/runtime-environment.ts:129:14)
- at SimpleTaskDefinition.action (/home/hftamayo/sourcecode/growic/scaffold-eth/packages/hardhat/node_modules/hardhat-abi-exporter/tasks/export_abi.js:75:5)
- at Environment._runTaskDefinition (/home/hftamayo/sourcecode/growic/scaffold-eth/packages/hardhat/node_modules/hardhat/src/internal/core/runtime-environment.ts:217:14)
- at Environment.run (/home/hftamayo/sourcecode/growic/scaffold-eth/packages/hardhat/node_modules/hardhat/src/internal/core/runtime-environment.ts:129:14)
- at async Promise.all (index 0)
- at OverriddenTaskDefinition._action (/home/hftamayo/sourcecode/growic/scaffold-eth/packages/hardhat/node_modules/hardhat-abi-exporter/tasks/compile.js:13:5)
- error Command failed with exit code 1.
- info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
- error Command failed.
- Exit code: 1
- Command: /usr/bin/node
- Arguments: /home/hftamayo/.yarn/lib/cli.js deploy
- Directory: /home/hftamayo/sourcecode/growic/scaffold-eth/packages/hardhat
- Output:
- info Visit https://yarnpkg.com/en/docs/cli/workspace for documentation about this command.
- error Command failed with exit code 1.
- info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement