You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the documentation the use_home_npmrc should only be parsed if it exists
Use the $HOME/.npmrc file (or $USERPROFILE/.npmrc when on Windows) if it exists.
On the bzlmod version, it doesn't check for file existence and causing Error in read: java.io.FileNotFoundException: /home/myhome/.npmrc (No such file or directory) error
What happened?
From the documentation the
use_home_npmrc
should only be parsed if it existsOn the bzlmod version, it doesn't check for file existence and causing
Error in read: java.io.FileNotFoundException: /home/myhome/.npmrc (No such file or directory)
errorrules_js/npm/extensions.bzl
Line 99 in fd4ef5a
Here is the version of non-bzlmod and it checks for file existence
rules_js/npm/private/npm_translate_lock_state.bzl
Lines 478 to 480 in fd4ef5a
Version
Development (host) and target OS/architectures:
Output of
bazel --version
:7.4.1
Version of the Aspect rules, or other relevant rules from your
WORKSPACE
orMODULE.bazel
file:aspect_rules_js v2.1.2
Language(s) and/or frameworks involved:
How to reproduce
Any other information?
No response
The text was updated successfully, but these errors were encountered: