In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
What to do if vuejs fails to create a project? for this question, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible way.
Vuejs failed to create a project solution: 1, uninstall nodejs;2, delete npm-cache and other folders deleted; 3, re-download nodejs installation; 4, enter the "npm config list" command; 5, use "vue init webpack" to create a project.
This article operating environment: windows7 system, Vue2.9.6 version, DELL G3 computer.
What if vuejs fails to create a project?
Problems with creation failure when creating a vue project
After installing the command for vue-cli:
Npm install-g @ vue/cli
To check whether the installation is successful after the installation is complete, you can enter the command: vue-V or vue-- version enter should publish this number.
Then there is the problem. I want to check the version number after installing vue-cli. After entering vue- V, there is a problem:
Resolve:
1. Uninstall nodejs first and delete the folder AppData\ Roaming\ npm and npm from C disk.
2. Delete the folder AppData\ Roaming\ npm-cache and npm-cache from the C disk.
3. Download the nodejs installation again and then install npm install vue-cli-g
4. After the installation is complete, enter npm config list
5. The version number will appear when you type vue-V, and you can use vue init webpack to create the project.
This is the answer to the question about what to do when vuejs failed to create a project. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.