npm run protractor 出现一下错误,求解啊!

Error: No selenium server jar found at the specified location (C:\www\angular-phonecat\node_modules\protractor\selenium\selenium-server-standalone-2.47.1.jar). Check that the version number is up to date.

    at LocalDriverProvider.addDefaultBinaryLocs_ (C:\www\angular-phonecat\node_modules\protractor\lib\driverProviders\local.js:37:11)

    at LocalDriverProvider.setupEnv (C:\www\angular-phonecat\node_modules\protractor\lib\driverProviders\local.js:71:8)

    at Runner.run (C:\www\angular-phonecat\node_modules\protractor\lib\runner.js:261:31)

    at TaskRunner.run (C:\www\angular-phonecat\node_modules\protractor\lib\taskRunner.js:123:19)

    at createNextTaskRunner (C:\www\angular-phonecat\node_modules\protractor\lib\launcher.js:223:20)

    at C:\www\angular-phonecat\node_modules\protractor\lib\launcher.js:246:7

    at _fulfilled (C:\www\angular-phonecat\node_modules\protractor\node_modules\q\q.js:797:54)

    at self.promiseDispatch.done (C:\www\angular-phonecat\node_modules\protractor\node_modules\q\q.js:826:30)

    at Promise.promise.promiseDispatch (C:\www\angular-phonecat\node_modules\protractor\node_modules\q\q.js:759:13)

    at C:\www\angular-phonecat\node_modules\protractor\node_modules\q\q.js:573:44


npm ERR! Windows_NT 6.1.7601

npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "protractor"

npm ERR! node v4.3.0

npm ERR! npm  v2.14.12

npm ERR! code ELIFECYCLE

npm ERR! angular-phonecat@0.0.0 protractor: `protractor test/protractor-conf.js`

npm ERR! Exit status 1

npm ERR! 

npm ERR! Failed at the angular-phonecat@0.0.0 protractor script 'protractor test/protractor-conf.js'.

npm ERR! This is most likely a problem with the angular-phonecat package,

npm ERR! not with npm itself.

npm ERR! Tell the author that this fails on your system:

npm ERR!     protractor test/protractor-conf.js

npm ERR! You can get their info via:

npm ERR!     npm owner ls angular-phonecat

npm ERR! There is likely additional logging output above.


npm ERR! Please include the following file with any support request:

npm ERR!     C:\www\angular-phonecat\npm-debug.log


慕妹4067925
浏览 1786回答 1
1回答

慕沐4440021

Error: No selenium server jar found at the specified location
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

AngularJS