Npm我反应不运行

时间:2018-08-11 13:38:36

标签: node.js reactjs npm

大家好,我想在刚刚创建的项目中安装reactjs,但是当我运行命令npm时,我的反应会导致错误

**npm ERR! Unexpected end of JSON input while parsing near '...943","tarball":"https'
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\HP Notebook\AppData\Roaming\npm-cache_logs\2018-08-11T13_31_27_071Z-debug.log**

打包JSON

    {
  "name": "react-lab",
  "version": "1.0.0",
  "description": "lab sur reactjs",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "Orion WAMBERT",
  "license": "ISC",
  "dependencies": {
    "bootstrap": "^4.1.3",
    "create-react-app": "^1.5.2",
    "expressjs": "^1.0.1",
    "jquery": "^3.3.1",
    "latest-version": "^4.0.0",
    "mobx": "^5.0.3",
    "react-redux": "^5.0.7",
    "react-router": "^4.3.1",
    "redux": "^4.0.0",
    "webpack": "^4.16.5"
  }
}

0 个答案:

没有答案