Advertisement
htamayo

deploying smartcontract: yarn deploy

Aug 13th, 2022
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.19 KB | None | 0 0
  1. yarn deploy
  2. yarn run v1.22.19
  3. $ yarn workspace @scaffold-eth/hardhat deploy
  4. $ hardhat deploy --export-all ../react-app/src/contracts/hardhat_contracts.json
  5. โœ– Help us improve Hardhat with anonymous crash reports & basic usage data? (Y/n) ยท true
  6.  
  7. Nothing to compile
  8. An unexpected error occurred:
  9.  
  10. TypeError: fs.promises.rm is not a function
  11. at /home/hftamayo/sourcecode/growic/scaffold-eth/packages/hardhat/node_modules/hardhat-abi-exporter/tasks/clear_abi.js:60:23
  12. at async Promise.all (index 0)
  13. at SimpleTaskDefinition.action (/home/hftamayo/sourcecode/growic/scaffold-eth/packages/hardhat/node_modules/hardhat-abi-exporter/tasks/clear_abi.js:44:3)
  14. at Environment._runTaskDefinition (/home/hftamayo/sourcecode/growic/scaffold-eth/packages/hardhat/node_modules/hardhat/src/internal/core/runtime-environment.ts:217:14)
  15. at Environment.run (/home/hftamayo/sourcecode/growic/scaffold-eth/packages/hardhat/node_modules/hardhat/src/internal/core/runtime-environment.ts:129:14)
  16. at SimpleTaskDefinition.action (/home/hftamayo/sourcecode/growic/scaffold-eth/packages/hardhat/node_modules/hardhat-abi-exporter/tasks/export_abi.js:75:5)
  17. at Environment._runTaskDefinition (/home/hftamayo/sourcecode/growic/scaffold-eth/packages/hardhat/node_modules/hardhat/src/internal/core/runtime-environment.ts:217:14)
  18. at Environment.run (/home/hftamayo/sourcecode/growic/scaffold-eth/packages/hardhat/node_modules/hardhat/src/internal/core/runtime-environment.ts:129:14)
  19. at async Promise.all (index 0)
  20. at OverriddenTaskDefinition._action (/home/hftamayo/sourcecode/growic/scaffold-eth/packages/hardhat/node_modules/hardhat-abi-exporter/tasks/compile.js:13:5)
  21. error Command failed with exit code 1.
  22. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
  23. error Command failed.
  24. Exit code: 1
  25. Command: /usr/bin/node
  26. Arguments: /home/hftamayo/.yarn/lib/cli.js deploy
  27. Directory: /home/hftamayo/sourcecode/growic/scaffold-eth/packages/hardhat
  28. Output:
  29.  
  30. info Visit https://yarnpkg.com/en/docs/cli/workspace for documentation about this command.
  31. error Command failed with exit code 1.
  32. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
  33.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement