为了账号安全,请及时绑定邮箱和手机立即绑定

执行 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 ]


正在回答

1 回答

求大神解答

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
AngularJS实战
  • 参与学习       205465    人
  • 解答问题       1158    个

一起学习AngularJS的基础教程,通过实例学习并学会AngularJS

进入课程

执行 npm run protractor报错

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信