-
Notifications
You must be signed in to change notification settings - Fork 982
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
Hardhat disallows global installation npx hardhat compiile --force
#901
Comments
I'm always using a local installation to run slither, usually like this:
|
Does this mean |
I just tried installing it in the local virtual environment and running like so:
However, I'm still getting the following output: 'npx hardhat compile --force' running |
Hi @Pet3ris, you are right, and it seems that hardhat does not work anymore with global installation, so npx is not useful anymore, thanks for pointing this out. I am moving the discussion to crytic/crytic-compile#208. A quick workaround is to use |
It seems that Hardhat now disallows compilation from a global installation (https://hardhat.org/errors/#HH12).
This is what I'm getting when running
npx hardhat compile --force
on a local Hardhat project:It seems that
slither
is using this as a default setting. Any ideas for a workaround other--hardhat-ignore-compile
?The text was updated successfully, but these errors were encountered: