npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Lenovo\AppData\Roaming\np

报错:
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Lenovo\AppData\Roaming\npm-cache_logs\2020-02-18T05_24_41_971Z-debug.log

说明:全局脚手架和本地脚手架版本不一样

运行cmd命令

npm install npm -g 要记住全局更新

淘宝镜像命令:cnpm install npm -g 淘宝镜像会比较快

再查看一下npm版本:npm -v

你可能感兴趣的:(vue.js,vue,vue.js)