-
Notifications
You must be signed in to change notification settings - Fork 4.6k
failing on protractor test/protractor-conf.js #168
Description
Hello -
So I'm new to development in general and the setup for this was a trip. Looked like I got it running - I could use [npm start] and [npm test] but [npm run protractor] fails as shown.
I have an updated chrome, and the server and Karma will both run correctly (no visible errors and Karma is green).
I'm running this in Cygwin on 64-bit Windows 8.
The debug log will follow.
Here are my commands and the resulting script:
$ npm run protractor
[email protected] preprotractor C:\angular-phonecat
npm run update-webdriver[email protected] preupdate-webdriver C:\angular-phonecat
npm install[email protected] postinstall C:\angular-phonecat
bower install[email protected] update-webdriver C:\angular-phonecat
webdriver-manager update
selenium standalone is up to date.
chromedriver is up to date.
[email protected] protractor C:\angular-phonecat
protractor test/protractor-conf.js
PID: 12540 (capability: chrome #1)
Using ChromeDriver directly...
[launcher] Runner Process Exited With Error Code: 1
npm ERR! [email protected] protractor: protractor test/protractor-conf.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] protractor script.
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! System Windows_NT 6.2.9200
npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "protractor"
npm ERR! cwd C:\angular-phonecat
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.9
npm ERR! code ELIFECYCLE
debug log:
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 [email protected]
3 info using [email protected]
4 verbose run-script [ 'preprotractor', 'protractor', 'postprotractor' ]
5 info preprotractor [email protected]
6 verbose unsafe-perm in lifecycle true
7 info protractor [email protected]
8 verbose unsafe-perm in lifecycle true
9 info [email protected] Failed to exec protractor script
10 error [email protected] protractor: protractor test/protractor-conf.js
10 error Exit status 1
11 error Failed at the [email protected] protractor script.
11 error This is most likely a problem with the angular-phonecat package,
11 error not with npm itself.
11 error Tell the author that this fails on your system:
11 error protractor test/protractor-conf.js
11 error You can get their info via:
11 error npm owner ls angular-phonecat
11 error There is likely additional logging output above.
12 error System Windows_NT 6.2.9200
13 error command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "protractor"
14 error cwd C:\angular-phonecat
15 error node -v v0.10.28
16 error npm -v 1.4.9
17 error code ELIFECYCLE
18 verbose exit [ 1, true ]
What is going on? Is it something simple?