Skip to content
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

Unable to install dependencies: 401 Unauthorized #12

Open
naXa777 opened this issue Oct 31, 2021 · 1 comment
Open

Unable to install dependencies: 401 Unauthorized #12

naXa777 opened this issue Oct 31, 2021 · 1 comment

Comments

@naXa777
Copy link

naXa777 commented Oct 31, 2021

yarn install

output

[1/4] Resolving packages...
[2/4] Fetching packages...
error An unexpected error occurred: "https://npm.fontawesome.com/@fortawesome/free-brands-svg-icons/-/5.15.3/free-brands-svg-icons-5.15.3.tgz: Request failed \"401 Unauthorized\"".

npm i

output

npm ERR! code E401
npm ERR! Incorrect or missing password.
npm ERR! If you were trying to login, change your password, create an
npm ERR! authentication token or enable two-factor authentication then
npm ERR! that means you likely typed your password in incorrectly.
npm ERR! Please try again, or recover your password at:
npm ERR!     https://www.npmjs.com/forgot
npm ERR!
npm ERR! If you were doing some other operation then your saved credentials are
npm ERR! probably out of date. To correct this please try logging in again with:
npm ERR!     npm login
@yutveg
Copy link

yutveg commented Nov 2, 2021

I saw this issue as well, it looks like the registry that got saved in the yarn.lock/npm.lock is protected don't know if that was intentional by the maintainers. If you need a quick fix deleting the lock files and letting yarn select the versions for me fixed this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants