-
Hey guys! I started coding out of fun after finishing the course till lesson 14. For some reason I get this error here: Can anyone tell me what exactly it means? That's the full error code: lordreya@Lords-MacBook-Air DEX-Arbitrage-main Kopie 2 % yarn hardhat compile
yarn run v1.22.19
$ '/Users/lordreya/Documents/arbitrage bot/fb - testing/DEX-Arbitrage-main Kopie 2/node_modules/.bin/hardhat' compile
An unexpected error occurred:
TypeError: Invalid comparator: pragmasolidity^0.6.6
at Comparator.parse (/Users/lordreya/Documents/arbitrage bot/fb - testing/DEX-Arbitrage-main Kopie 2/node_modules/hardhat/node_modules/semver/semver.js:794:11)
at new Comparator (/Users/lordreya/Documents/arbitrage bot/fb - testing/DEX-Arbitrage-main Kopie 2/node_modules/hardhat/node_modules/semver/semver.js:777:8)
at Range.<anonymous> (/Users/lordreya/Documents/arbitrage bot/fb - testing/DEX-Arbitrage-main Kopie 2/node_modules/hardhat/node_modules/semver/semver.js:975:12)
at Array.map (<anonymous>)
at Range.parseRange (/Users/lordreya/Documents/arbitrage bot/fb - testing/DEX-Arbitrage-main Kopie 2/node_modules/hardhat/node_modules/semver/semver.js:974:13)
at Range.<anonymous> (/Users/lordreya/Documents/arbitrage bot/fb - testing/DEX-Arbitrage-main Kopie 2/node_modules/hardhat/node_modules/semver/semver.js:917:17)
at Array.map (<anonymous>)
at new Range (/Users/lordreya/Documents/arbitrage bot/fb - testing/DEX-Arbitrage-main Kopie 2/node_modules/hardhat/node_modules/semver/semver.js:916:40)
at Function.intersects (/Users/lordreya/Documents/arbitrage bot/fb - testing/DEX-Arbitrage-main Kopie 2/node_modules/hardhat/node_modules/semver/semver.js:1543:8)
at getCompilationJobCreationError (/Users/lordreya/Documents/arbitrage bot/fb - testing/DEX-Arbitrage-main Kopie 2/node_modules/hardhat/src/internal/solidity/compilation-job.ts:305:17)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. ``` There is not much info about it elsewhere sadly... Would appreciate the help! |
Beta Was this translation helpful? Give feedback.
Answered by
krakxn
Jul 18, 2022
Replies: 1 comment 1 reply
-
Send the repo please - as it seems like a big codebase, will be much easier for me to diagnose. Thank you |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
LordReya
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Send the repo please - as it seems like a big codebase, will be much easier for me to diagnose. Thank you