ua-parser-js 404 error

Mudaser Ali
Oct 26, 2021

if you are getting following error when you run yarn

error An unexpected error occurred: "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.29.tgz: Request failed \"404 Not Found\"".
info If you think this is a bug, please open a bug report with the information provided in "/Users/mudaserali/projects/hucu/mobile2/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

here is its quick fix

add following resolutions in your package.json

"resolutions": {
"ua-parser-js": "^1.0.1"
},

Credit: https://github.com/nuxt/nuxt.js/issues/9979#issuecomment-950400741

--

--

Mudaser Ali

{ name: Mudaser Ali aka SMAK, skills: NoBody is pErfect i M nObOdy, passion: {love: [programming, photography]} }