Initialize project problems with vue-cli

* * set up a vue project according to a tutorial
when npm install stops here for a long time, it doesn"t move * *

**vue-demonode_modules800
120M,17000 vue**

then the node.exe process accounts for 25% CPU, my computer CPU4 core, the process can not end

Mar.02,2021

node_modules it's normal that there are so many dependencies and files.
npm install immobility may be a network problem. NPM Taobao image check it out.

npm config set registry https://registry.npm.taobao.org

normal


due to the network and other reasons, npm install is generally very slow, giving people the illusion of hanging up. It is recommended to install Taobao image and use cnpm install


.

node_modules is this big, and your condition is normal.

npm installation is slow, you can use Taobao image, or yarn.


Thank you for your reply. I changed cnpm install, and finished it soon

.
Menu