-
Notifications
You must be signed in to change notification settings - Fork 523
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
Peer dep failure with npm_install but not with yarn_install #416
Comments
Thanks for the easy reproduction. I looked into this and it looks like npm is laying out the npm modules incorrectly. karma ends up in It seems like karma should be placed at the root I'll think about this some more. |
Some more data.
even tho v1.7.1 it is installed at I wonder if it has to do with |
Looks like an existing and known issue with npm npm/npm#19877 (comment). |
Thanks for looking into this. From your explanation it doesn't seem like there's an issue in rules_nodejs, so I'm closing this issue. |
Update: It looks like npm are working on the installation of peer dependencies: https://blog.npmjs.org/post/617484925547986944/npm-v7-series-introduction |
…er local testing Closes bazel-contrib#416 PiperOrigin-RevId: 233672246
…er local testing Closes bazel-contrib#416 PiperOrigin-RevId: 233672246
Hi, I'm running into an issue with the
npm_install
rule. For some reason, thenpm_install
rule fails on mypackage.json
, but when I switch to theyarn_install
rule, everything works fine. Runningnpm install
without bazel in the directory also works.Steps to reproduce
Thanks for your help!
The text was updated successfully, but these errors were encountered: