尝试运行时出错'npm start'

时间:2017-11-23 13:32:25

标签: node.js angular npm package.json npm-start

尝试在不更新节点版本和npm版本的情况下运行npm start时出现以下错误。

ERROR

  

npm ERR! Windows_NT 6.1.7601   错误的ERR! argv" C:\ Work \ node-v6.10.3-win-x64 \ node-v6.10.3-win-x64 \ node.exe" "   C:\工作\节点v6.10.3赢-64 \节点v6.10.3赢-64 \ node_modules \故宫\ BIN \ NP   M-cli.js" "开始"   错误的ERR!节点v6.10.3   错误的ERR! npm v3.10.10   错误的ERR!代码ELIFECYCLE   错误的ERR! ucps-online-client@1.0.0 start:ng serve --proxy-config proxy.conf.jso n   错误的ERR!退出状态1   错误的ERR!   错误的ERR!失败的ucps-online-client@1.0.0启动脚本' ng serve --proxy-c   onfig proxy.conf.json'。   错误的ERR!确保安装了最新版本的node.js和npm。   错误的ERR!如果这样做,这很可能是ucps-online-client pa的问题   ckage,   错误的ERR!不是与npm本身。   错误的ERR!告诉作者你的系统失败了:   错误的ERR! ng serve --proxy-config proxy.conf.json   错误的ERR!您可以通过以下方式获取有关如何为此项目打开问题的信息:   错误的ERR! npm bugs ucps-online-client   错误的ERR!或者如果不可用,您可以通过以下方式获取他们的信息:   错误的ERR! npm owner ls ucps-online-client   错误的ERR!上面可能有额外的日志输出。
  错误的ERR!请在任何支持请求中包含以下文件:   错误的ERR! C:\工作\ workspace_Nov9_commit \ UCPS-在线父\ UCPS,在线客户端   \ NPM-的debug.log

的package.json

{
  "name": "ucps-online-client",
  "version": "1.0.0",
  "private": true,
  "license": "MIT",
  "angular-cli": {},
  "scripts": {
    "ng": "ng",
    "start": "ng serve --proxy-config proxy.conf.json",
    "lint": "ng lint"
  },
  "dependencies": {
    "@angular/animations": "^4.0.1",
    "@angular/common": "^4.0.0",
    "@angular/compiler": "^4.0.0",
    "@angular/core": "^4.0.0",
    "@angular/forms": "^4.0.0",
    "@angular/http": "^4.0.0",
    "@angular/platform-browser": "^4.0.0",
    "@angular/platform-browser-dynamic": "^4.0.0",
    "@angular/router": "^4.0.0",
    "bootstrap": "3.3.7",
    "core-js": "^2.4.1",
    "font-awesome": "4.6.3",
    "jquery": "2.2.3",
    "latest-version": "^3.1.0",
    "moment": "2.17.1",
    "ng2-bootstrap": "1.6.3",
    "ng2-datepicker": "^1.8.3",
    "ng2-datetime-picker": "^0.12.5",
    "ng2-pagination": "^2.0.2",
    "primeng": "4.1.0",
    "rxjs": "^5.0.1",
    "ts-helpers": "^1.1.1",
    "zone.js": "^0.8.5"
  },
  "devDependencies": {
    "@angular/compiler-cli": "^4.0.0",
    "@types/node": "^7.0.12",
    "@angular/cli": "^1.0.0",
    "codelyzer": "^2.1.1",
    "ts-node": "^3.0.2",
    "tslint": "^5.0.0",
    "typescript": "^2.2.2"
  },
  "engines": {
    "node": ">= 6.9.1",
    "npm": ">= 3"
  }
}

0 个答案:

没有答案