Error HH1001: Invalid source name #4045
-
I am working on customizing a crypto arbitrage bot with flash loans and have pushed the program to a repository here: Dependencies:
I have only been able to input 3 commands before getting stuck.
Then, I get this error:
I've been all through the code searching for a relative path that should be a source name, I've tried Google, StackOverflow, StackExchange, Alchemy, and Hardhat. Any help moving me further along in the process would be hugely appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
@deegrate your repo has some Hardhat should ignore those files though. If you can confirm that deleting them makes the problem go away, please open an issue about Hardhat not working correctly when there are Alternate Data Streams in the contracts directory. |
Beta Was this translation helpful? Give feedback.
Uhm, I don't think so. I just wanted to see if the ADS files were showing up in that list, but they aren't.
I'm not sure what can be going on. I couldn't reproduce this on linux. Some things you can try are:
npx hardhat clean
and thennpx hardhat compile