win10机器 vue ui 创建vue项目时出现 verbose stack SyntaxError: Unexpected end of JSON input while parsing near '
npm cache clean --force 清理缓存
进入cmd进入 C:用户pc名AppDataRoaming pm-cache (请根据自己的实际情况调整)
清理 npm cache clean --force
清理完 请测试创建,一般都正常
镜像法
npm set registry https://registry.npmjs.org/