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
Using AWS CodeArtifact to install some private components are getting not found because npmrc dynamic generated in preinstall is not being reloaded on install.
To reproduce: just create a dynamic .npmrc file on script preinstall, then call yarn install, yarn will throw 401 not found.
The text was updated successfully, but these errors were encountered:
I faced the same issue. I printed the configuration using yarn config list during the preinstall stage, and everything appeared to be okay! It was very difficult to pinpoint the problem.
Also, yarn's generic 401 error message confused me and led me to many online discussions about token issues with the yarn.lock file.
Yarn: v1.22.18
Terminal: PowerShell or Git Bash
Using AWS CodeArtifact to install some private components are getting not found because npmrc dynamic generated in preinstall is not being reloaded on install.
To reproduce: just create a dynamic .npmrc file on script preinstall, then call yarn install, yarn will throw 401 not found.
The text was updated successfully, but these errors were encountered: