首页 > npm start 报错 记日志分析 npm-debug.log

npm start 报错 记日志分析 npm-debug.log

0 info it worked if it ends with ok
1 verbose cli [ 'D:\\nodejs\\node.exe',
1 verbose cli   'D:\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'start' ]
2 info using npm@2.14.2
3 info using node@v4.0.0
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart login-panli-demo@0.1.0
6 verbose unsafe-perm in lifecycle true
7 info start login-panli-demo@0.1.0
8 verbose unsafe-perm in lifecycle true
9 info login-panli-demo@0.1.0 Failed to exec start script
10 verbose stack Error: login-panli-demo@0.1.0 start: `npm run build && npm-run-all --parallel server watch:**`
10 verbose stack Exit status 1
10 verbose stack     at EventEmitter.<anonymous> (D:\nodejs\node_modules\npm\lib\utils\lifecycle.js:214:16)
10 verbose stack     at emitTwo (events.js:87:13)
10 verbose stack     at EventEmitter.emit (events.js:172:7)
10 verbose stack     at ChildProcess.<anonymous> (D:\nodejs\node_modules\npm\lib\utils\spawn.js:24:14)
10 verbose stack     at emitTwo (events.js:87:13)
10 verbose stack     at ChildProcess.emit (events.js:172:7)
10 verbose stack     at maybeClose (internal/child_process.js:817:16)
10 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
11 verbose pkgid login-panli-demo@0.1.0
12 verbose cwd E:\zan\www\panli\login-panli-demo
13 error Windows_NT 6.1.7601
14 error argv "D:\\nodejs\\node.exe" "D:\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start"
15 error node v4.0.0
16 error npm  v2.14.2
17 error code ELIFECYCLE
18 error login-panli-demo@0.1.0 start: `npm run build && npm-run-all --parallel server watch:**`
18 error Exit status 1
19 error Failed at the login-panli-demo@0.1.0 start script 'npm run build && npm-run-all --parallel server watch:**'.
19 error This is most likely a problem with the login-panli-demo package,
19 error not with npm itself.
19 error Tell the author that this fails on your system:
19 error     npm run build && npm-run-all --parallel server watch:**
19 error You can get their info via:
19 error     npm owner ls login-panli-demo
19 error There is likely additional logging output above.
20 verbose exit [ 1, true ]

npm-debug.log 错误如上;

"scripts": {
    "build": "npm-run-all build:**",
    "start": "npm run build && npm-run-all --parallel server watch:**",
    "test": "karma start",
    "test:coverage": "KARMA_ENV=coverage karma start --reporters coverage,coveralls",
    "test:lint": "eslint src/**/*.js*",
    "watch:test": "karma start --no-single-run --browsers Chrome",
    "pretest": "npm run test:lint",
    "prebuild": "rimraf www && mkdirp www",
    "prestart": "npm run prebuild",
    "build:static": "cpx \"examples/static/**/*\" www",
    "watch:static": "npm run build:static -- -w",
    "build:js": "webpack",
    "watch:js": "npm run build:js -- --watch",
    "build:css": "npm run watch:css -- --no-watch",
    "watch:css": "autoless --source-map examples www",
    "build:dist": "babel src --out-dir dist",
    "watch:dist": "npm run build:dist --- --watch",
    "server": "live-server ./ --port=4240"
  },

配置环境如上


想问下你解决了这个问题了吗 我这也这样 如果解决了 能告诉我下 怎解决的吗?谢谢


看起来是 login-panli-demo@0.1.0 的问题,你可以去github主页上看看是否有相关issues。另外,log中并没有关于这个的详细信息。

19 error Failed at the login-panli-demo@0.1.0 start script 'npm run build && npm-run-all --parallel server watch:**'.
19 error This is most likely a problem with the login-panli-demo package,
19 error not with npm itself.
19 error Tell the author that this fails on your system:
19 error     npm run build && npm-run-all --parallel server watch:**
19 error You can get their info via:
19 error     npm owner ls login-panli-demo
19 error There is likely additional logging output above.
【热门文章】
【热门文章】