vuetifyjs / vue-cli-plugins

🔌 A collection of Vuetify plugins for Vue CLI
https://vuetifyjs.com/en/getting-started/quick-start#vue-cli-3
Other
427 stars 113 forks source link

`vue add vuetify` throws error due to `yarn add vue-cli-plugin-vuetify -D --tilde` #284

Closed T45K closed 3 years ago

T45K commented 3 years ago

When I try to add vuetify using vue add vuetify command, it throws an error. My Vue project consists of

log

$ vue add vuetify

📦  Installing vue-cli-plugin-vuetify...

yarn add v1.22.10
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
info If you think this is a bug, please open a bug report with the information provided in "/Users/t45k/prog/vueitter/yarn-error.log".
error An unexpected error occurred: "https://registry.npm.taobao.org/rechoir/download/rechoir-0.6.2.tgz: Request failed \"503 Service Unavailable\"".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
 ERROR  command failed: yarn add vue-cli-plugin-vuetify -D --tilde

Environment

KaelWD commented 3 years ago

That would be a problem with the chinese NPM mirror, not us.

debiru commented 9 months ago

ERROR command failed: yarn add vue-cli-plugin-vuetify -D --tilde

I also encountered this error. After much investigation, I found that the cause was an outdated version of yarn. I changed from yarn 3.x to 4.x and the command was successfully executed.