I am enjoying this application , but I am having an issue with npm run e2e
.
I tried it on my friend's computer too and when i run this command a blank browser instance opens and on the url space it says Not secure| data
The error I got in the command line is related to the following file below :
Tell the author that this fails on your system: npm ERR! protractor e2e-tests/protractor.conf.js
(I made sure before that I have the latest version of npm and node).
Below is my npm-debug.log file :
0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'run', 'e2e' ] 2 info using [email protected] 3 info using [email protected] 4 verbose run-script [ 'pree2e', 'e2e', 'poste2e' ] 5 info lifecycle [email protected]~pree2e: [email protected] 6 verbose lifecycle [email protected]~pree2e: unsafe-perm in lifecycle true 7 verbose lifecycle [email protected]~pree2e: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/home/elena/Desktop/app_villains/node_modules/.bin:/home/elena/bin:/home/elena/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games 8 verbose lifecycle [email protected]~pree2e: CWD: /home/elena/Desktop/app_villains 9 silly lifecycle [email protected]~pree2e: Args: [ '-c', 'npm run update-webdriver' ] 10 silly lifecycle [email protected]~pree2e: Returned: code: 0 signal: null 11 info lifecycle [email protected]~e2e: [email protected] 12 verbose lifecycle [email protected]~e2e: unsafe-perm in lifecycle true 13 verbose lifecycle [email protected]~e2e: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/home/elena/Desktop/app_villains/node_modules/.bin:/home/elena/bin:/home/elena/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games 14 verbose lifecycle [email protected]~e2e: CWD: /home/elena/Desktop/app_villains 15 silly lifecycle [email protected]~e2e: Args: [ '-c', 'protractor e2e-tests/protractor.conf.js' ] 16 silly lifecycle [email protected]~e2e: Returned: code: 1 signal: null 17 info lifecycle [email protected]~e2e: Failed to exec e2e script 18 verbose stack Error: [email protected] e2e:
protractor e2e-tests/protractor.conf.js18 verbose stack Exit status 1 18 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:255:16) 18 verbose stack at emitTwo (events.js:106:13) 18 verbose stack at EventEmitter.emit (events.js:191:7) 18 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/spawn.js:40:14) 18 verbose stack at emitTwo (events.js:106:13) 18 verbose stack at ChildProcess.emit (events.js:191:7) 18 verbose stack at maybeClose (internal/child_process.js:891:16) 18 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5) 19 verbose pkgid [email protected] 20 verbose cwd /home/elena/Desktop/app_villains 21 error Linux 4.4.0-53-generic 22 error argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "e2e" 23 error node v6.11.0 24 error npm v3.10.10 25 error code ELIFECYCLE 26 error [email protected] e2e:
protractor e2e-tests/protractor.conf.js 26 error Exit status 1 27 error Failed at the [email protected] e2e 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 ng1-component-example 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 ng1-component-example 27 error Or if that isn't available, you can get their info via: 27 error npm owner ls ng1-component-example 27 error There is likely additional logging output above. 28 verbose exit [ 1, true ]
I hope this makes sense and thank you kindly for taking the time to read it :)