执行 npm run protractor报错
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'protractor' ]
2 info using npm@1.4.8
3 info using node@v0.10.27
4 verbose node symlink C:\Program Files\nodejs\\node.exe
5 verbose run-script [ 'preprotractor', 'protractor', 'postprotractor' ]
6 info preprotractor angular-phonecat@0.0.0
7 verbose unsafe-perm in lifecycle true
8 info protractor angular-phonecat@0.0.0
9 verbose unsafe-perm in lifecycle true
10 info angular-phonecat@0.0.0 Failed to exec protractor script
11 error angular-phonecat@0.0.0 protractor: `protractor test/protractor-conf.js`
11 error Exit status 8
12 error Failed at the angular-phonecat@0.0.0 protractor script.
12 error This is most likely a problem with the angular-phonecat package,
12 error not with npm itself.
12 error Tell the author that this fails on your system:
12 error protractor test/protractor-conf.js
12 error You can get their info via:
12 error npm owner ls angular-phonecat
12 error There is likely additional logging output above.
13 error System Windows_NT 6.1.7601
14 error command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "protractor"
15 error cwd C:\Users\jiaozh1\Desktop\phonecat\angular-phonecat
16 error node -v v0.10.27
17 error npm -v 1.4.8
18 error code ELIFECYCLE
19 verbose exit [ 1, true ]