npm run dev 失败了说是环境变量的问题,我也弄了,前端不太在行
你是不是安装代码规范那个破东西了
不知道你这个问题是否已经解决, 如果还没有解决的话:1.创建一个git项目 npm-version-test
。 git clone <当前项目git地址>
2.cd npm-version-test
3. npm init -y
在工程目录下生成package.json如下:
{
"name": "npm-version-test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://gitee.com/LynnLanny/npm-version-test.git"
},
"keywords": [],
"author": "",
"license": "ISC"
}