-
-
Notifications
You must be signed in to change notification settings - Fork 161
Closed
Labels
bugSomething isn't workingSomething isn't workingneed: fundingWe could prioritize this based on donation to https://opencollective.com/aspect-buildWe could prioritize this based on donation to https://opencollective.com/aspect-build
Description
What happened?
Under bzlmod, update_pnpm_lock fails on the first attempt.
Version
HEAD
How to reproduce
In rules_js,
cd e2e/npm_translate_lock- modify package.json, like
"semver": "7.5.4"
then bazel build ... gives an error:
~/Projects/rules_js/e2e/npm_translate_lock$ bazel build --enable_bzlmod ...
Starting local Bazel server and connecting to it...
ERROR: Skipping '...': error loading package under directory '': error loading package '': at /shared/cache/bazel/user_base/3b36aba3ddc6cb653f7aaaed8bb07c4d/external/aspect_rules_js~override~npm~npm/defs.bzl:40:6: Unable to find package for @aspect_rules_js~override~npm~npm__semver__registry.npmjs.org_semver_7.5.4__links//:defs.bzl: The repository '@aspect_rules_js~override~npm~npm__semver__registry.npmjs.org_semver_7.5.4__links' could not be resolved: Repository '@aspect_rules_js~override~npm~npm__semver__registry.npmjs.org_semver_7.5.4__links' is not defined.Simply running the same bazel build command again fixes it.
Any other information?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneed: fundingWe could prioritize this based on donation to https://opencollective.com/aspect-buildWe could prioritize this based on donation to https://opencollective.com/aspect-build