全局安装cnpm

npm install -g cnpm --registry=https://registry.npm.taobao.org
安装cnpm(淘宝镜像)



【题外】
shift键
右击项目名称
选择-点击在此处打开命令窗口
在窗口运行: cnpm install

最后运行项目:

npm run dev




原文地址:https://www.cnblogs.com/miny-simp/p/7597977.html