-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[BUG] npm 7.10 does not recursively install modules in local filesystem #3100
Comments
I'm experiencing this same issue:sindresorhus/gulp-imagemin#338 |
Did you find a solution? |
@andreash Downgrade npm to 6x or use yarn instead. |
Yeah, that's what I am doing (user npm 6.x). Yarn doesn't work for me for other reasons. But I still see this as a bug in npm 7. |
|
Current Behavior:
I have
In
package1
as cwd I donpm install express
and thenrm -rf node_modules
andrm package-lock.json
. Then, in main_project as cwd I donpm install
. Theexpress
module does not get installed inpackage1
with npm 7.10. If I use npm 6.14.12 everything is fine and npm installs recursively and express and its dependencies show up in thenode_modules
subdirectory ofpackage1
.Expected Behavior:
I expect npm 7.10 to behave the same way as npm 6.14.12
Steps To Reproduce:
See steps above and zip attached - pretty simple.
Environment:
npm_7.0-test.zip
The text was updated successfully, but these errors were encountered: