The solution for installing Taobao in vue3: 1. Check the data source; 2. Replace it with Taobao’s source through "npm config set registry https://registry.npm.taobao.org"; 3. Through " npm config get registry" to verify whether it is successful.
The operating environment of this tutorial: windows7 system, vue3, Dell G3 computer.
What should I do if the installation of vue3 is too stuck?
Solution to the slow installation of Vue scaffolding
When installing npm install, it stays at fetchMetadata: xxxxxx for a long time.
It is a problem with the data source and the download is too slow.
Just replace it with Taobao’s source
npm config set registry https://registry.npm.taobao.org
– You can verify success through the following methods
npm config get registry
– or npm info express
Recommended learning: 《vue.js video tutorial》
The above is the detailed content of What should I do if the vue3 installation is too stuck?. For more information, please follow other related articles on the PHP Chinese website!