-
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
Non-hermetic dependency on npm_bazel_typescript? #1220
Comments
I think the force delete you did is equivalent to There's a known issue on the upgrade path where Bazel doesn't mark our external repositories like @gregmagolan was planning to investigate the underlying problem. |
I'm still seeing this even after #1205 landed UPDATE: Seems like with the example apps if the yarn install fails with any issue this is the failure that gets generated... |
🐞 bug report
Affected Rule
I suspect something between the WORKSPACE definitions and @npm_bazel_typescript.
Is this a regression?
Unknown.
Description
I'm trying to upgrade tsickle to use the latest version of rules_nodejs, 0.38.0. I've updated my WORKSPACE to include the latest
http_archive
:And I've updated
package.json
(and thusyarn.lock
) to depend on bazel 0.29 and@bazel/typescript
and@bazel/jasmine
in 0.38.0.After that (and an
rm -rf node_modules
just to be sure),bazel run @nodejs//:yarn
reported an error about having a cyclic dependency:I fixed (?) that by changing the
WORKSPACE
to load fromindex.bzl
:With that in place, I reproducibly received this error:
After a lot of trial and error, I discovered that
npm_bazel_typescript/package.json
was actually in0.33.1
.I was then able to fix the issue by forcefully deleting the entire bazel directory (
rm -rf $HOME/.cache/bazel/_bazel_martinprobst/1676c3df3a56b0dc61e541b515b67b3c
).bazel clean
did not help.🔬 Minimal Reproduction
Unclear, sorry.
🔥 Exception or Error
See above.
🌍 Your Environment
Operating System:
Output of
bazel version
:Rules version (SHA):
0.38.0
(at least that's the intended version...)Anything else relevant?
Happy to help with debugging.
The text was updated successfully, but these errors were encountered: