Closed Kilx-D closed 1 year ago
@Kilx-D It is not a course-related issue, so could you please come to the discussions tab and post your question there? We are very active there.
And close this before that!
@alymurtazamemon Correct me if im wrong but this seems to be a course related issue, at 8:34:56 in the course patrick modifies the default solidity file and compiles it, which is exactly what I did which resulted in the error above.
@Kilx-D This seems to be a package-lock.json
file issue. Try to delete node_modules
folder package-lock.json
file and run
npm i --force
@alymurtazamemon i just tried it, it didnt work, everywhere suggest deleting node_modules and package-lock, but every time i do it, it would always result in the same error
@alymurtazamemon Please leave your repo link.
i just settled to continue on a linux vm as i couldnt find a solution to making it work on kali linux or windows 11
hardhat compile issue
Whenever I run the command
npx hardhat compile
I get an error stating the followingThis error is created after using the following commands
after creating a brand new hardhat project, i modified the default solidity file and compiled it by using
npx hardhat compile
only to result in the error aboveI did exactly what it said to do and removed the
package-lock
file and thenode_modules
directory and the error still persist.I looked around online and either there were no helpful solutions to this error that I havent already tried already such as updating npm
i also tried using other OS to see if this was a platform specific issue by using windows 11 and it would just install for forever
stats
feel free to ask questions if i didnt clarify enough