输入npm run dev报错,哪位高手解答一下?
代码是从老师的GitHub上下载的,文件名就是shoppingCart,但总是出现missing script: dev, 谁知道是怎么回事啊?谢谢了
代码是从老师的GitHub上下载的,文件名就是shoppingCart,但总是出现missing script: dev, 谁知道是怎么回事啊?谢谢了
2018-05-22
下面是我的package.json的代码,你在那里下载的?你可以把你的GitHub开源的代码分享给我吗?谢谢
{
"name": "vue2",
"version": "1.0.0",
"description": "gouwuche",
"main": "index.js",
"devDependencies": {},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zhaoqiyin/shoppingCart.git"
},
"keywords": [
"vue2"
],
"author": "John",
"license": "ISC",
"bugs": {
"url": "https://github.com/zhaoqiyin/shoppingCart/issues"
},
"homepage": "https://github.com/zhaoqiyin/shoppingCart#readme",
"dependencies": {
"vue": "^2.5.16",
"vue-resource": "^1.5.1"
}
}
举报