1 | ~/Documents/gerrit/mediawiki/vagrant$ vagrant ssh |
---|---|
2 | ... |
3 | |
4 | vagrant@vagrant:/vagrant/mediawiki$ node -v |
5 | v6.17.1 |
6 | |
7 | vagrant@vagrant:/vagrant/mediawiki$ npm -v |
8 | 2.15.12 |
9 | |
10 | vagrant@vagrant:~$ cd /vagrant/mediawiki/ |
11 | |
12 | vagrant@vagrant:/vagrant/mediawiki$ rm -rf node_modules/ |
13 | |
14 | vagrant@vagrant:/vagrant/mediawiki$ npm install |
15 | ... |
16 | |
17 | vagrant@vagrant:/vagrant/mediawiki$ npm run selenium |
18 | |
19 | > @ selenium /vagrant/mediawiki |
20 | > wdio ./tests/selenium/wdio.conf.js |
21 | |
22 | /vagrant/mediawiki/node_modules/@wdio/cli/build/launcher.js:62 |
23 | async run() { |
24 | ^^^ |
25 | |
26 | SyntaxError: Unexpected identifier |
27 | at createScript (vm.js:56:10) |
28 | at Object.runInThisContext (vm.js:97:10) |
29 | at Module._compile (module.js:549:28) |
30 | at Object.Module._extensions..js (module.js:586:10) |
31 | at Module.load (module.js:494:32) |
32 | at tryModuleLoad (module.js:453:12) |
33 | at Function.Module._load (module.js:445:3) |
34 | at Module.require (module.js:504:17) |
35 | at require (internal/module.js:20:19) |
36 | at Object.<anonymous> (/vagrant/mediawiki/node_modules/@wdio/cli/build/index.js:14:40) |
37 | |
38 | npm ERR! Linux 4.9.0-9-amd64 |
39 | npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "selenium" |
40 | npm ERR! node v6.17.1 |
41 | npm ERR! npm v2.15.12 |
42 | npm ERR! code ELIFECYCLE |
43 | npm ERR! @ selenium: `wdio ./tests/selenium/wdio.conf.js` |
44 | npm ERR! Exit status 1 |
45 | npm ERR! |
46 | npm ERR! Failed at the @ selenium script 'wdio ./tests/selenium/wdio.conf.js'. |
47 | npm ERR! This is most likely a problem with the package, |
48 | npm ERR! not with npm itself. |
49 | npm ERR! Tell the author that this fails on your system: |
50 | npm ERR! wdio ./tests/selenium/wdio.conf.js |
51 | npm ERR! You can get information on how to open an issue for this project with: |
52 | npm ERR! npm bugs |
53 | npm ERR! Or if that isn't available, you can get their info via: |
54 | npm ERR! |
55 | npm ERR! npm owner ls |
56 | npm ERR! There is likely additional logging output above. |
57 | |
58 | npm ERR! Please include the following file with any support request: |
59 | npm ERR! /vagrant/mediawiki/npm-debug.log |
TODO
- When this is resolved, update Selenium/Node.js/Inside MediaWiki-Vagrant.