themesberg / volt-react-dashboard

Free and open source React.js admin dashboard template and UI library based on Bootstrap 5
https://demo.themesberg.com/volt-react-dashboard
MIT License
910 stars 376 forks source link

Unable to install dependencies: 401 Unauthorized #12

Open naXa777 opened 2 years ago

naXa777 commented 2 years ago
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 commented 2 years ago

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.