-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The "npx hardhat compile" is failing to compile solidity file #3144
Comments
This issue is also being tracked on Linear. We use Linear to manage our development process, but we keep the conversations on Github. LINEAR-ID: 4d3fa2e7-ce23-4f9d-b47a-fcc3a54d1f14 |
Hey, thanks for opening the issue. Can you give us more information about your system? Thanks! |
I am using windows 11 and I have v16.17.0 of node and my computer is 64bits.Other info about my system is given below: Processor Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz 1.80 GHz I am not using WSL and that .node file is there whenever I installed the hardhat but it is is in corrupted form. |
I believe this is what's happening: parcel-bundler/parcel#7104 (comment) Can you try the solution described there and tell us if it worked? You can learn more about this here: https://georgik.rocks/how-to-statically-link-rust-application-for-windows/ |
Great! it worked for me. |
Thanks for testing it! Now that we understand what's going on, we are fixing it so that a separate installation is not needed. |
Whenever I am trying to start a new project and trying to compile a new solidity file, it is showing the same error again and again.
what I tried to fix it:
-I re-install the node
--Many times I started a new project
Here is error which I am getting:
The text was updated successfully, but these errors were encountered: