-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
Plugin it's not looking for the node_modules in the same folder as the packages.json. #47
Comments
What custom path are you giving it? Can you provide some code? |
|
Works for me. |
I think what @martuanez is saying is that when you give a custom package.json path, it doesn't look for node_modules at that file's level. It still looks at the default node_modules for the whole project. As an example, let's say my dependency is this Builder npm package. Builder depends on some grunt plugins that it loads by pointing to its own package.json: Now let's assume I'm on npm2 (nested dependency dir structure). So when I bring in Builder as a dependency into my other project and invoke that code, it's still looking in the root node_modules for my project instead of looking at node_modules for that custom |
That's what I tried to explain |
I came across this same issue - is this the intended behaviour? If so, what is the benefit of passing in a path to the |
When a custom path is given for the package.json the plugin is not able to find the node_modules folder
The text was updated successfully, but these errors were encountered: