Open arightious opened 7 years ago
Are you using vue-test in your e2e tests? Interesting, I've only seen it used for unit tests until now :)
Could you post some failing code? Also, does it work if you take vue-test out?
I have a similar problem in "runner.js", however, without using vue-test:
0 info it worked if it ends with ok
1 verbose cli [ '/home/pedroskakum/.nvm/v6.11.2/bin/node',
1 verbose cli '/home/pedroskakum/.nvm/v6.11.2/bin/npm',
1 verbose cli 'run',
1 verbose cli 'test' ]
2 info using npm@3.10.10
3 info using node@v6.11.2
4 verbose run-script [ 'pretest', 'test', 'posttest' ]
5 info lifecycle app-client@1.0.0~pretest: app-client@1.0.0
6 silly lifecycle app-client@1.0.0~pretest: no script for pretest, continuing
7 info lifecycle app-client@1.0.0~test: app-client@1.0.0
8 verbose lifecycle app-client@1.0.0~test: unsafe-perm in lifecycle true
9 verbose lifecycle app-client@1.0.0~test: PATH: /home/pedroskakum/.nvm/v6.11.2/lib/node_modules/npm/bin/node-gyp-bin:/var/www/app-client/node_modules/.bin:./node_modules/.bin:/home/pedroskakum/.nvm/v6.11.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
10 verbose lifecycle app-client@1.0.0~test: CWD: /var/www/app-client
11 silly lifecycle app-client@1.0.0~test: Args: [ '-c', 'npm run unit && npm run e2e' ]
12 silly lifecycle app-client@1.0.0~test: Returned: code: 1 signal: null
13 info lifecycle app-client@1.0.0~test: Failed to exec test script
14 verbose stack Error: app-client@1.0.0 test: `npm run unit && npm run e2e`
14 verbose stack Exit status 1
14 verbose stack at EventEmitter.<anonymous> (/home/pedroskakum/.nvm/v6.11.2/lib/node_modules/npm/lib/utils/lifecycle.js:255:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:191:7)
14 verbose stack at ChildProcess.<anonymous> (/home/pedroskakum/.nvm/v6.11.2/lib/node_modules/npm/lib/utils/spawn.js:40:14)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at ChildProcess.emit (events.js:191:7)
14 verbose stack at maybeClose (internal/child_process.js:891:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
15 verbose pkgid app-client@1.0.0
16 verbose cwd /var/www/app-client
17 error Linux 4.9.0-deepin4-amd64
18 error argv "/home/pedroskakum/.nvm/v6.11.2/bin/node" "/home/pedroskakum/.nvm/v6.11.2/bin/npm" "run" "test"
19 error node v6.11.2
20 error npm v3.10.10
21 error code ELIFECYCLE
22 error app-client@1.0.0 test: `npm run unit && npm run e2e`
22 error Exit status 1
23 error Failed at the app-client@1.0.0 test script 'npm run unit && npm run e2e'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the app-client package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error npm run unit && npm run e2e
23 error You can get information on how to open an issue for this project with:
23 error npm bugs app-client
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls app-client
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
I'm trying to run the nightwatch e2e tests in Vue. I've been poking around for awhile and always end up with some selenium related errors.
Here's the error I'm getting:
This is the log referenced: