Open agsola opened 4 months ago
Hey @agsola! The solution that worked for me, after debugging the solc
JavaScript wrapper, was to explicitly add solc
as a dependency to my package.json
.
The issue comes from the fact that inside the solc
JavaScript wrapper, a call is made to require
a module. The module 's name is resolved dynamically from solc/wrapper
- if you don't have solc
installed, this will result in an undefined module name which will break the consequent require
call
Sounds like a case Hardhat should handle.
cc @MexicanAce @githubdoramon
When trying to compile 0.8.25 contracts, I'm getting this error:
IMHO it should alert if 0.8.25 is not supported, if it is the case.