если вы получаете следующую ошибку при запуске пряжи

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.

вот его быстрое решение

добавьте следующие разрешения в ваш package.json

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

Кредит: https://github.com/nuxt/nuxt.js/issues/9979#issuecomment-950400741