VUE-CLI installation failed failed to download repo vuejs-templates/vuedemo:response code 404 (Not Found)

Source: Internet
Author: User
Tags response code install node

Restore Problem site:

When using VUE init Webpack projectname for the first time, two NPM install-g vue-cli were performed due to operational errors, and then the Webpack template was created using VUE init Vuedemo Vuedemo.

VUE-CLI Failed to download repo vuejs-templates/vuedemo:response code 404 (Not Found);

Workaround:

Perform the following three commands to check the environment:

Node-v (lowercase v); If the node version is not displayed, first download and install node
Vue-v (capital V), if the Vue version is not shown, NPM i vue-cli-g install
Webpack-v (lowercase v); If you need to reinstall, use NPM install Webpack-g
When three conditions are met,

Use vue init webpack vuedemo (vuedemo is my own random name );

Experience Summary:

Webpack There is no global installation, you will need to reinstall Webpack each time you create a new project, otherwise it is reported as an error

VUE-CLI installation failed failed to download repo vuejs-templates/vuedemo:response code 404 (Not Found)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.