-
Notifications
You must be signed in to change notification settings - Fork 84
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
Fix detection of node_modules/ in monorepos #279
Comments
Related to #79. Adding a |
Currently trying to work on this issue, just wanted to clarify if the fix would be platform dependent and if so should it support all the platforms? |
Is there any progress on this? It would be really useful to support monorepos / custom This could be solved adding a flag and one more |
Hi, this issue is still prevalent. I got this error while trying to run my fuzz tests with echidna in a monorepo contract. |
@asmitadhungana Would you be able to open an issue and provide more detail on your setup and what command you ran please? It'd be helpful if you could share the code as well |
We need a way to find node_modules for monorepo that is more robust
This is especially sticky for monorepo projects where something like
@openzeppelin/*
is not installed in the relativenode_modules/
but in the root workspace. Yarn 2 removed nohoist as well, so I haven't really found a good solution to this yet.A temporary workaround is to symlink the relevant packages into the relative/workspace's
node_modules/
dir but that gets pretty annoying and is temporary.ETA: A solution is adding the following to the
package.json
for the contract package:Originally posted by @mikeshultz in crytic/slither#852 (comment)
The text was updated successfully, but these errors were encountered: