Replies: 6 comments 7 replies
-
Please @Lob12 try to re-compile it first and then try to re-run the |
Beta Was this translation helpful? Give feedback.
-
@Lob12 run these commands; npx hardhat clean
npx hardhat compile |
Beta Was this translation helpful? Give feedback.
-
#1937 go to this will solve it u have to put the old simpleStorage.sol code into the contracts delete the greetings code |
Beta Was this translation helpful? Give feedback.
-
the issue may should be from your SimpleStorage.sol, go to the github repo of "Hardhat Simple Storage" copy his SimpleStorage.sol file, and paste it in your SimpleStorage.sol file, save it, try running the script, I did this it worked for me, hope it works for you |
Beta Was this translation helpful? Give feedback.
-
I think the issue is simply because the contract name is not exactly "SimpleStorage" (not the file name but the contract inside it). If it is not, then rename it to "SimpleStorage". It should hopefully fix it. |
Beta Was this translation helpful? Give feedback.
-
@Lob12 I am capable of running your deploy.js file in my laptop successfully. |
Beta Was this translation helpful? Give feedback.
-
Keep getting error down below. I have SimpleStorage.sol as a file.
Beta Was this translation helpful? Give feedback.
All reactions