This E2E test as shown in step-5 is failing, can anyone suggests exactly 
what is going on. Just to let you know my nodejs version is 8.10.0 and npm 
3.5.2.

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'protractor' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'preprotractor', 'protractor', 'postprotractor' ]
5 info lifecycle [email protected]~preprotractor: [email protected]
6 verbose lifecycle [email protected]~preprotractor: unsafe-perm in 
lifecycle true
7 verbose lifecycle [email protected]~preprotractor: PATH: 
/usr/share/npm/bin/node-gyp-bin:/home/perinno/angular-phonecat/node_modules/.bin:/home/perinno/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-10-oracle/bin:/usr/lib/jvm/java-10-oracle/db/bin
8 verbose lifecycle [email protected]~preprotractor: CWD: 
/home/perinno/angular-phonecat
9 silly lifecycle [email protected]~preprotractor: Args: [ '-c', 'npm run 
update-webdriver' ]
10 silly lifecycle [email protected]~preprotractor: Returned: code: 0  
signal: null
11 info lifecycle [email protected]~protractor: [email protected]
12 verbose lifecycle [email protected]~protractor: unsafe-perm in 
lifecycle true
13 verbose lifecycle [email protected]~protractor: PATH: 
/usr/share/npm/bin/node-gyp-bin:/home/perinno/angular-phonecat/node_modules/.bin:/home/perinno/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-10-oracle/bin:/usr/lib/jvm/java-10-oracle/db/bin
14 verbose lifecycle [email protected]~protractor: CWD: 
/home/perinno/angular-phonecat
15 silly lifecycle [email protected]~protractor: Args: [ '-c', 'protractor 
e2e-tests/protractor.conf.js' ]
16 silly lifecycle [email protected]~protractor: Returned: code: 1  
signal: null
17 info lifecycle [email protected]~protractor: Failed to exec protractor 
script
18 verbose stack Error: [email protected] protractor: `protractor 
e2e-tests/protractor.conf.js`
18 verbose stack Exit status 1
18 verbose stack     at EventEmitter.<anonymous> 
(/usr/share/npm/lib/utils/lifecycle.js:232:16)
18 verbose stack     at emitTwo (events.js:126:13)
18 verbose stack     at EventEmitter.emit (events.js:214:7)
18 verbose stack     at ChildProcess.<anonymous> 
(/usr/share/npm/lib/utils/spawn.js:24:14)
18 verbose stack     at emitTwo (events.js:126:13)
18 verbose stack     at ChildProcess.emit (events.js:214:7)
18 verbose stack     at maybeClose (internal/child_process.js:925:16)
18 verbose stack     at Process.ChildProcess._handle.onexit 
(internal/child_process.js:209:5)
19 verbose pkgid [email protected]
20 verbose cwd /home/perinno/angular-phonecat
21 error Linux 4.15.0-30-generic
22 error argv "/usr/bin/node" "/usr/bin/npm" "run" "protractor"
23 error node v8.10.0
24 error npm  v3.5.2
25 error code ELIFECYCLE
26 error [email protected] protractor: `protractor 
e2e-tests/protractor.conf.js`
26 error Exit status 1
27 error Failed at the [email protected] protractor script 'protractor 
e2e-tests/protractor.conf.js'.
27 error Make sure you have the latest version of node.js and npm installed.
27 error If you do, this is most likely a problem with the angular-phonecat 
package,
27 error not with npm itself.
27 error Tell the author that this fails on your system:
27 error     protractor e2e-tests/protractor.conf.js
27 error You can get information on how to open an issue for this project with:
27 error     npm bugs angular-phonecat
27 error Or if that isn't available, you can get their info via:
27 error     npm owner ls angular-phonecat
27 error There is likely additional logging output above.
28 verbose exit [ 1, true ]

Reply via email to