Vue-cli, vue init webpack, gets stuck when downloading

when downloading templates using vue-cli. The command: vue init webpack projectName,
download process always stops at extract:core-js: sill extract source-map@0.5.7
clipboard.png
clipboard.png so it"s strange. I would like to ask you why this happened. Although projects after forced exit can be used under this template, there will be a lot of situations where moudle is not present when using npm install., (cnpm does not appear. Many modules should not be loaded)

May.07,2021

try to upgrade npm and node to the latest stable version
try to run npm cache clean-- force
choose to install dependency with yarn when trying init


install Taobao image, installation method then use the cnpm command


generally it is a network problem, do you use proxy taobao?

Menu