-
Notifications
You must be signed in to change notification settings - Fork 522
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
npm_install
runs three times on a clean build
#2620
Comments
alexeagle
added a commit
to alexeagle/rules_nodejs
that referenced
this issue
Apr 22, 2021
Even resolving a |
alexeagle
added a commit
that referenced
this issue
Apr 22, 2021
twheys
pushed a commit
to twheys/rules_nodejs
that referenced
this issue
Jan 13, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We run npm_install three times. For a client I'm working with, this makes a 75sec
npm install
operation require almost 250sec just tobazel query @npm//:all
😱Repro
Run any
npm_install
repo rule, such ast=$(mktemp -d); bazel --output_base=$t build @npm_node_patches//:all; echo "output_base $t"
and then look at the
$t/command.profile.gz
inchrome://tracing
and see horrifying result
The text was updated successfully, but these errors were encountered: