无法仅在此项目上运行npm install

时间:2017-12-27 14:43:23

标签: node.js

我过去曾多次在这个项目上运行npm install,我知道它应该可以正常工作。话虽这么说我不能运行npm卸载,但只能在这个项目上运行。我知道这不是很多,格式有什么变化或格式不正确吗?

当我运行npm install时,可能需要10秒钟,然后我收到此消息。

  

npm ERR!代码UNKNOWN npm ERR!未知:未知错误,打开' D:\ TFS   源\ XXX \ XXX \ node_modules.bin \ NGC'

     

npm ERR!可以在以下位置找到此运行的完整日志:npm ERR!
  C:\用户\贝利   米勒\应用程序数据\漫游\ NPM-cache_logs \ 2017-12-27T14_41_52_431Z-的debug.log

附注:ngc文件为空,我的所有文本编辑器都无法打开它。调试日志文件太长,无法找到错误。

package.json: Snippet

"dependencies": {
    "@angular/common": "^4.2.6",
    "@angular/compiler": "^4.2.6",
    "@angular/core": "^4.2.6",
    "@angular/forms": "^4.2.6",
    "@angular/http": "^4.2.6",
    "@angular/platform-browser": "^4.2.6",
    "@angular/platform-browser-dynamic": "^4.2.6",
    "@angular/router": "^4.2.6",
    "@ng-bootstrap/ng-bootstrap": "^1.0.0-alpha.28",
    "@ngrx/core": "^1.2.0",
    "@ngrx/db": "^2.0.2",
    "@ngrx/effects": "^2.0.4",
    "@ngrx/router-store": "^1.2.6",
    "@ngrx/store": "^2.2.3",
    "@ngrx/store-devtools": "^3.2.4",
    "bootstrap": "^4.0.0-alpha.6",
    "core-js": "^2.4.1",
    "moment": "^2.18.1",
    "reselect": "^3.0.1",
    "rxjs": "^5.4.2",
    "web-animations-js": "^2.2.5",
    "zone.js": "^0.8.4"
  },
  "devDependencies": {
    "@angular/cli": "1.6.2",
    "@angular/compiler-cli": "4.2.6",
    "@types/jasmine": "2.5.38",
    "@types/node": "8.0.10",
    "codelyzer": "~2.0.0",
    "jasmine-core": "~2.5.2",
    "jasmine-spec-reporter": "~3.2.0",
    "karma": "~1.4.1",
    "karma-chrome-launcher": "~2.0.0",
    "karma-cli": "~1.0.1",
    "karma-coverage-istanbul-reporter": "^0.2.0",
    "karma-ie-launcher": "^1.0.0",
    "karma-jasmine": "~1.1.0",
    "karma-jasmine-html-reporter": "^0.2.2",
    "ngrx-store-freeze": "^0.1.9",
    "protractor": "~5.1.0",
    "ts-node": "~2.0.0",
    "tslint": "~4.5.0",
    "typescript": "~2.2.0"
  }

0 个答案:

没有答案