GregYankovoy / vue-cli-plugin-bootstrap-vue

vue-cli 3 plugin to add bootstrap-vue
MIT License
34 stars 2 forks source link

Not found #2

Closed Berkmann18 closed 5 years ago

Berkmann18 commented 5 years ago

While following https://bootstrap-vue.js.org/docs, I ran: vue add bootstrap-vue but I got this 404 error:

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/vue-cli-plugin-boostrap-vue - Not found
npm ERR! 404                                                                                                                                                            npm ERR! 404  'vue-cli-plugin-boostrap-vue@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

Edit: Funnily enough, installing via vue ui works.

GregYankovoy commented 5 years ago

Had no issues with latest version of @vue/cli. See below for output.

Could you try updating the vue cli and trying again? npm install -g @vue/cli


📦  Installing vue-cli-plugin-bootstrap-vue...

+ vue-cli-plugin-bootstrap-vue@0.4.0
added 1 package from 1 contributor and audited 23978 packages in 14.182s
found 0 vulnerabilities

✔  Successfully installed plugin: vue-cli-plugin-bootstrap-vue

? Use babel/polyfill? Yes

🚀  Invoking generator for vue-cli-plugin-bootstrap-vue...
📦  Installing additional dependencies...
Berkmann18 commented 5 years ago

Updating @vue/cli solved the problem.