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
The .npmrc that comes along in configuration-files.json uses an unscoped _auth config item. Unscoped _auth is not allowed by npm 9 and will cause an npm install or npm clean-install to fail.
There is a workaround. Adding npm config fix will scope the _auth tag to a single repository listed in the .npmrc.
But without the npm config fix, anyone using node 18 / npm 9 will fail on install. It can be quite confusing when running the build in a container sourced from cachito request to see the build fail that way.
The
.npmrc
that comes along inconfiguration-files.json
uses an unscoped_auth
config item. Unscoped_auth
is not allowed by npm 9 and will cause annpm install
ornpm clean-install
to fail.There is a workaround. Adding
npm config fix
will scope the_auth
tag to a single repository listed in the.npmrc
.But without the
npm config fix
, anyone using node 18 / npm 9 will fail on install. It can be quite confusing when running the build in a container sourced from cachito request to see the build fail that way.References:
The text was updated successfully, but these errors were encountered: