当我运行npm时,它不起作用并显示错误

时间:2018-01-28 14:11:19

标签: node.js reactjs npm

我已经下载了fullstack的源代码反应,但它在大多数项目中一直向我显示这个错误:

  

npm ERR!缺少脚本:开始

有人可以帮忙吗?

这是我的package.json

{
  "name": "voting_app",
  "version": "1.0.1",
  "author": "Fullstack.io",
  "scripts": {
    "go": "open http://localhost:8080; npm run server",
    "e2e": "nightwatch",
    "test": "./node_modules/.bin/concurrently -k 'npm run server' 'npm run e2e'",
    "server": "./node_modules/http-server/bin/http-server . -p 8080"
  },
  "private": true,
  "dependencies": {
    "http-server": "0.8.5"
  },
  "devDependencies": {
    "concurrently": "2.2.0"
  }
}

感谢您的时间和帮助

0 个答案:

没有答案