Page MenuHomePhabricator
Paste P13305

Logs for Selenium/How-to/Use MediaWiki API
ActivePublic

Authored by Hulya on Tue, Nov 17, 10:57 PM.
I followed the instructions to run the MediaWiki API.
Downloaded test project [mediawiki-selenium-nodejs](https://github.com/zeljkofilipin/mediawiki-selenium-nodejs)
Started ChromeDriver
But cannot install node modules and tests.
mediawiki-selenium chromedriver --url-base=wd/hub --port=4444
Starting ChromeDriver 86.0.4240.22 (398b0743353ff36fb1b82468f63a3a93b4e2e89e-refs/branch-heads/4240@{#378}) on port 4444
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
[1] 8483 terminated chromedriver --url-base=wd/hub --port=4444
mediawiki-selenium npm install
> fibers@2.0.2 install /Users/hulyakarakaya/mediawiki-selenium/node_modules/fibers
> node build.js || nodejs build.js
CXX(target) Release/obj.target/fibers/src/fibers.o
../src/fibers.cc:68:2: error: no template
named 'Handle'
Handle<String> NewLatin1Stri...
^
../src/fibers.cc:69:10: error: no viable
conversion from returned value of type
'Local<v8::String>' to function return
type 'int'
...String::NewFromOneByte(isolate, (const uint8_t*)string, NewStringType::kNormal).ToLocalChecked();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/fibers.cc:72:2: error: no template
named 'Handle'
Handle<String> NewLatin1Symb...
^
../src/fibers.cc:73:10: error: no viable
conversion from returned value of type
'Local<v8::String>' to function return
type 'int'
...String::NewFromOneByte(isolate, (const uint8_t*)string, NewStringType::kNormal).ToLocalChecked();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/fibers.cc:94:2: error: no template
named 'Handle'
Handle<Object> NewInstance(I...
^
../src/fibers.cc:95:10: error: no viable
conversion from returned value of type
'Local<v8::Object>' to function return
type 'int'
...fn->NewInstance(isolate->GetCurrentContext(), argc, argv).ToLocalChecked();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/fibers.cc:104:2: error: no template
named 'Handle'
Handle<Number> ToNumber(Loca...
^
../src/fibers.cc:105:10: error: no viable
conversion from returned value of type
'Local<v8::Number>' to function return
type 'int'
...value->ToNumber(Isolate::GetCurrent()->GetCurrentContext()).ToLocalChecked();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/fibers.cc:126:58: error: no template
named 'Handle'
...Persistent<T>& persistent, Handle<T...
^
../src/fibers.cc:139:26: error: no template
named 'Handle'
void SetInternalPointer(Hand...
^
../src/fibers.cc:143:27: error: no template
named 'Handle'
void* GetInternalPointer(Han...
^
../src/fibers.cc:148:2: error: no template
named 'Handle'
Handle<T> Deref(Isolate* iso...
^
../src/fibers.cc:153:14: error: no template
named 'Handle'
void Return(Handle<T> handle...
^
../src/fibers.cc:157:14: error: no template
named 'Handle'
void Return(Handle<T> handle...
^
../src/fibers.cc:165:2: error: no template
named 'Handle'
Handle<Value> ThrowException...
^
../src/fibers.cc:165:49: error: no template
named 'Handle'
...ThrowException(Isolate* isolate, Han...
^
../src/fibers.cc:169:2: error: no template
named 'Handle'
Handle<Context> GetCurrentCo...
^
../src/fibers.cc:170:10: error: no viable
conversion from returned value of type
'Local<v8::Context>' to function
return type 'int'
...return isolate->GetCurrentContext();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/fibers.cc:173:2: error: no template
named 'Handle'
Handle<Primitive> Undefined(...
^
fatal error: too many errors emitted,
stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/fibers/src/fibers.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/hulyakarakaya/.nvm/versions/node/v12.19.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:314:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Darwin 19.6.0
gyp ERR! command "/Users/hulyakarakaya/.nvm/versions/node/v12.19.0/bin/node" "/Users/hulyakarakaya/.nvm/versions/node/v12.19.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /Users/hulyakarakaya/mediawiki-selenium/node_modules/fibers
gyp ERR! node -v v12.19.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
node-gyp exited with code: 1
Please make sure you are using a supported platform and node version. If you
would like to compile fibers on this machine please make sure you have setup your
build environment--
Windows + OS X instructions here: https://github.com/nodejs/node-gyp
Ubuntu users please run: `sudo apt-get install g++ build-essential`
Alpine users please run: `sudo apk add python make g++`
sh: nodejs: command not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! fibers@2.0.2 install: `node build.js || nodejs build.js`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the fibers@2.0.2 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/hulyakarakaya/.npm/_logs/2020-11-17T22_43_42_400Z-debug.log
(base) ➜ mediawiki-selenium npm ci
npm WARN prepare removing existing node_modules/ before installation
> chromedriver@2.38.2 install /Users/hulyakarakaya/mediawiki-selenium/node_modules/chromedriver
> node install.js
Downloading https://chromedriver.storage.googleapis.com/2.38/chromedriver_mac64.zip
Saving to /var/folders/w3/0d537v_s56d7mxpd305rz31w0000gn/T/chromedriver/chromedriver_mac64.zip
Received 781K...
Received 1568K...
Received 2352K...
Received 3136K...
Received 3920K...
Received 4704K...
Received 5447K total.
Extracting zip contents
Copying to target path /Users/hulyakarakaya/mediawiki-selenium/node_modules/chromedriver/lib/chromedriver
Fixing file permissions
Done. ChromeDriver binary available at /Users/hulyakarakaya/mediawiki-selenium/node_modules/chromedriver/lib/chromedriver/chromedriver
⸨ ⸩ ⠏ extractTree: info lif
> fibers@2.0.2 install /Users/hulyakarakaya/mediawiki-selenium/node_modules/fibers
> node build.js || nodejs build.js
CXX(target) Release/obj.target/fibers/src/fibers.o
../src/fibers.cc:68:2: error: no template named 'Handle'
Handle<String> NewLatin1String(Isolate* isolate, const char* string) {
^
../src/fibers.cc:69:10: error: no viable conversion from returned value of
type 'Local<v8::String>' to function return type 'int'
...String::NewFromOneByte(isolate, (const uint8_t*)string, NewStringType::kNormal).ToLocalChecked();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/fibers.cc:72:2: error: no template named 'Handle'
Handle<String> NewLatin1Symbol(Isolate* isolate, const char* string) {
^
../src/fibers.cc:73:10: error: no viable conversion from returned value of
type 'Local<v8::String>' to function return type 'int'
...String::NewFromOneByte(isolate, (const uint8_t*)string, NewStringType::kNormal).ToLocalChecked();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/fibers.cc:94:2: error: no template named 'Handle'
Handle<Object> NewInstance(Isolate* isolate, Local<Function> f...
^
../src/fibers.cc:95:10: error: no viable conversion from returned value of
type 'Local<v8::Object>' to function return type 'int'
...fn->NewInstance(isolate->GetCurrentContext(), argc, argv).ToLocalChecked();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/fibers.cc:104:2: error: no template named 'Handle'
Handle<Number> ToNumber(Local<Value> value) {
^
../src/fibers.cc:105:10: error: no viable conversion from returned value of
type 'Local<v8::Number>' to function return type 'int'
...value->ToNumber(Isolate::GetCurrent()->GetCurrentContext()).ToLocalChecked();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/fibers.cc:126:58: error: no template named 'Handle'
void Reset(Isolate* isolate, Persistent<T>& persistent, Handle...
^
../src/fibers.cc:139:26: error: no template named 'Handle'
void SetInternalPointer(Handle<T> handle, int index, void* val) {
^
../src/fibers.cc:143:27: error: no template named 'Handle'
void* GetInternalPointer(Handle<T> handle, int index) {
^
../src/fibers.cc:148:2: error: no template named 'Handle'
Handle<T> Deref(Isolate* isolate, Persistent<T>& handle) {
^
../src/fibers.cc:153:14: error: no template named 'Handle'
void Return(Handle<T> handle, const Arguments& args) {
^
../src/fibers.cc:157:14: error: no template named 'Handle'
void Return(Handle<T> handle, GetterCallbackInfo info) {
^
../src/fibers.cc:165:2: error: no template named 'Handle'
Handle<Value> ThrowException(Isolate* isolate, Handle<Value> e...
^
../src/fibers.cc:165:49: error: no template named 'Handle'
Handle<Value> ThrowException(Isolate* isolate, Handle<Value> e...
^
../src/fibers.cc:169:2: error: no template named 'Handle'
Handle<Context> GetCurrentContext(Isolate* isolate) {
^
../src/fibers.cc:170:10: error: no viable conversion from returned value of
type 'Local<v8::Context>' to function return type 'int'
return isolate->GetCurrentContext();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/fibers.cc:173:2: error: no template named 'Handle'
Handle<Primitive> Undefined(Isolate* isolate) {
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/fibers/src/fibers.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/hulyakarakaya/.nvm/versions/node/v12.19.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:314:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Darwin 19.6.0
gyp ERR! command "/Users/hulyakarakaya/.nvm/versions/node/v12.19.0/bin/node" "/Users/hulyakarakaya/.nvm/versions/node/v12.19.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /Users/hulyakarakaya/mediawiki-selenium/node_modules/fibers
gyp ERR! node -v v12.19.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
node-gyp exited with code: 1
Please make sure you are using a supported platform and node version. If you
would like to compile fibers on this machine please make sure you have setup your
build environment--
Windows + OS X instructions here: https://github.com/nodejs/node-gyp
Ubuntu users please run: `sudo apt-get install g++ build-essential`
Alpine users please run: `sudo apk add python make g++`
sh: nodejs: command not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! fibers@2.0.2 install: `node build.js || nodejs build.js`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the fibers@2.0.2 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/hulyakarakaya/.npm/_logs/2020-11-17T22_48_03_379Z-debug.log
(base) ➜ mediawiki-selenium node -v
v12.19.0
(base) ➜ mediawiki-selenium npm i
audited 489 packages in 1.998s
found 34 vulnerabilities (16 low, 1 moderate, 15 high, 2 critical)
run `npm audit fix` to fix them, or `npm audit` for details
(base) ➜ mediawiki-selenium npm test
> mediawiki-selenium-nodejs@0.0.1 test /Users/hulyakarakaya/mediawiki-selenium
> chromedriver --url-base=/wd/hub --port=4444 & grunt; pkill chromedriver
Starting ChromeDriver 2.38.552518 (183d19265345f54ce39cbb94cf81ba5f15905011) on port 4444
Only local connections are allowed.
[1605653333.798][SEVERE]: bind() returned an error, errno=48: Address already in use (48)
[1605653333.798][SEVERE]: bind() returned an error, errno=48: Address already in use (48)
Port not available. Exiting...
Running "eslint:all" (eslint) task
Running "jsonlint:all" (jsonlint) task
>> 3 files lint free.
Running "run:index" (run) task
Running "run:webdriverio" (run) task
Log in link visible: true
Running "mochaTest:test" (mochaTest) task
Main page
✓ should have "Log in" link (1651ms)
1 passing (3s)
Running "nightwatch" task
[Main Page] Test Suite
==========================
Running: Main page
Starting ChromeDriver 2.38.552518 (183d19265345f54ce39cbb94cf81ba5f15905011) on port 9515
Only local connections are allowed.
✔ Testing if element <li#pt-login a> is present.
OK. 1 assertions passed. (3.306s)
Running "webdriver:test" (webdriver) task
## There is an issue with `node-fibers` ##
`/Users/hulyakarakaya/mediawiki-selenium/node_modules/fibers/bin/darwin-x64-72/fibers.node` is missing.
Try running this to fix the issue: /Users/hulyakarakaya/.nvm/versions/node/v12.19.0/bin/node /Users/hulyakarakaya/mediawiki-selenium/node_modules/fibers/build
Error: Cannot find module '/Users/hulyakarakaya/mediawiki-selenium/node_modules/fibers/bin/darwin-x64-72/fibers'
Require stack:
- /Users/hulyakarakaya/mediawiki-selenium/node_modules/fibers/fibers.js
- /Users/hulyakarakaya/mediawiki-selenium/node_modules/fibers/future.js
- /Users/hulyakarakaya/mediawiki-selenium/node_modules/wdio-sync/build/index.js
- /Users/hulyakarakaya/mediawiki-selenium/node_modules/wdio-mocha-framework/build/adapter.js
- /Users/hulyakarakaya/mediawiki-selenium/node_modules/webdriverio/build/lib/runner.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:831:15)
at Function.Module._load (internal/modules/cjs/loader.js:687:27)
at Module.require (internal/modules/cjs/loader.js:903:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/Users/hulyakarakaya/mediawiki-selenium/node_modules/fibers/fibers.js:13:39)
at Module._compile (internal/modules/cjs/loader.js:1015:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
at Module.load (internal/modules/cjs/loader.js:879:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Module.require (internal/modules/cjs/loader.js:903:19)
ERROR: Couldn't initialise framework "wdio-mocha-framework".
Error: Missing binary. See message above.
at Object.<anonymous> (/Users/hulyakarakaya/mediawiki-selenium/node_modules/fibers/fibers.js:22:9)
at Module._compile (internal/modules/cjs/loader.js:1015:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
at Module.load (internal/modules/cjs/loader.js:879:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Module.require (internal/modules/cjs/loader.js:903:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/Users/hulyakarakaya/mediawiki-selenium/node_modules/fibers/future.js:2:13)
at Module._compile (internal/modules/cjs/loader.js:1015:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
at Runner.initialiseFramework (/Users/hulyakarakaya/mediawiki-selenium/node_modules/webdriverio/build/lib/runner.js:534:27)
at Runner._callee$ (/Users/hulyakarakaya/mediawiki-selenium/node_modules/webdriverio/build/lib/runner.js:101:55)
at tryCatch (/Users/hulyakarakaya/mediawiki-selenium/node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (/Users/hulyakarakaya/mediawiki-selenium/node_modules/regenerator-runtime/runtime.js:296:22)
at Generator.prototype.<computed> [as next] (/Users/hulyakarakaya/mediawiki-selenium/node_modules/regenerator-runtime/runtime.js:114:21)
at step (/Users/hulyakarakaya/mediawiki-selenium/node_modules/webdriverio/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
at /Users/hulyakarakaya/mediawiki-selenium/node_modules/webdriverio/node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13
at processTicksAndRejections (internal/process/task_queues.js:97:5)
## There is an issue with `node-fibers` ##
`/Users/hulyakarakaya/mediawiki-selenium/node_modules/fibers/bin/darwin-x64-72/fibers.node` is missing.
Try running this to fix the issue: /Users/hulyakarakaya/.nvm/versions/node/v12.19.0/bin/node /Users/hulyakarakaya/mediawiki-selenium/node_modules/fibers/build
Error: Cannot find module '/Users/hulyakarakaya/mediawiki-selenium/node_modules/fibers/bin/darwin-x64-72/fibers'
Require stack:
- /Users/hulyakarakaya/mediawiki-selenium/node_modules/fibers/fibers.js
- /Users/hulyakarakaya/mediawiki-selenium/node_modules/fibers/future.js
- /Users/hulyakarakaya/mediawiki-selenium/node_modules/wdio-sync/build/index.js
- /Users/hulyakarakaya/mediawiki-selenium/node_modules/wdio-mocha-framework/build/adapter.js
- /Users/hulyakarakaya/mediawiki-selenium/node_modules/webdriverio/build/lib/runner.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:831:15)
at Function.Module._load (internal/modules/cjs/loader.js:687:27)
at Module.require (internal/modules/cjs/loader.js:903:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/Users/hulyakarakaya/mediawiki-selenium/node_modules/fibers/fibers.js:13:39)
at Module._compile (internal/modules/cjs/loader.js:1015:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
at Module.load (internal/modules/cjs/loader.js:879:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Module.require (internal/modules/cjs/loader.js:903:19)
ERROR: Couldn't initialise framework "wdio-mocha-framework".
Error: Missing binary. See message above.
at Object.<anonymous> (/Users/hulyakarakaya/mediawiki-selenium/node_modules/fibers/fibers.js:22:9)
at Module._compile (internal/modules/cjs/loader.js:1015:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
at Module.load (internal/modules/cjs/loader.js:879:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Module.require (internal/modules/cjs/loader.js:903:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/Users/hulyakarakaya/mediawiki-selenium/node_modules/fibers/future.js:2:13)
at Module._compile (internal/modules/cjs/loader.js:1015:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
at Runner.initialiseFramework (/Users/hulyakarakaya/mediawiki-selenium/node_modules/webdriverio/build/lib/runner.js:534:27)
at Runner._callee$ (/Users/hulyakarakaya/mediawiki-selenium/node_modules/webdriverio/build/lib/runner.js:101:55)
at tryCatch (/Users/hulyakarakaya/mediawiki-selenium/node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (/Users/hulyakarakaya/mediawiki-selenium/node_modules/regenerator-runtime/runtime.js:296:22)
at Generator.prototype.<computed> [as next] (/Users/hulyakarakaya/mediawiki-selenium/node_modules/regenerator-runtime/runtime.js:114:21)
at step (/Users/hulyakarakaya/mediawiki-selenium/node_modules/webdriverio/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
at /Users/hulyakarakaya/mediawiki-selenium/node_modules/webdriverio/node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13
at processTicksAndRejections (internal/process/task_queues.js:97:5)
## There is an issue with `node-fibers` ##
`/Users/hulyakarakaya/mediawiki-selenium/node_modules/fibers/bin/darwin-x64-72/fibers.node` is missing.
Try running this to fix the issue: /Users/hulyakarakaya/.nvm/versions/node/v12.19.0/bin/node /Users/hulyakarakaya/mediawiki-selenium/node_modules/fibers/build
Error: Cannot find module '/Users/hulyakarakaya/mediawiki-selenium/node_modules/fibers/bin/darwin-x64-72/fibers'
Require stack:
- /Users/hulyakarakaya/mediawiki-selenium/node_modules/fibers/fibers.js
- /Users/hulyakarakaya/mediawiki-selenium/node_modules/fibers/future.js
- /Users/hulyakarakaya/mediawiki-selenium/node_modules/wdio-sync/build/index.js
- /Users/hulyakarakaya/mediawiki-selenium/node_modules/wdio-mocha-framework/build/adapter.js
- /Users/hulyakarakaya/mediawiki-selenium/node_modules/webdriverio/build/lib/runner.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:831:15)
at Function.Module._load (internal/modules/cjs/loader.js:687:27)
at Module.require (internal/modules/cjs/loader.js:903:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/Users/hulyakarakaya/mediawiki-selenium/node_modules/fibers/fibers.js:13:39)
at Module._compile (internal/modules/cjs/loader.js:1015:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
at Module.load (internal/modules/cjs/loader.js:879:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Module.require (internal/modules/cjs/loader.js:903:19)
ERROR: Couldn't initialise framework "wdio-mocha-framework".
Error: Missing binary. See message above.
at Object.<anonymous> (/Users/hulyakarakaya/mediawiki-selenium/node_modules/fibers/fibers.js:22:9)
at Module._compile (internal/modules/cjs/loader.js:1015:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
at Module.load (internal/modules/cjs/loader.js:879:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Module.require (internal/modules/cjs/loader.js:903:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/Users/hulyakarakaya/mediawiki-selenium/node_modules/fibers/future.js:2:13)
at Module._compile (internal/modules/cjs/loader.js:1015:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
at Runner.initialiseFramework (/Users/hulyakarakaya/mediawiki-selenium/node_modules/webdriverio/build/lib/runner.js:534:27)
at Runner._callee$ (/Users/hulyakarakaya/mediawiki-selenium/node_modules/webdriverio/build/lib/runner.js:101:55)
at tryCatch (/Users/hulyakarakaya/mediawiki-selenium/node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (/Users/hulyakarakaya/mediawiki-selenium/node_modules/regenerator-runtime/runtime.js:296:22)
at Generator.prototype.<computed> [as next] (/Users/hulyakarakaya/mediawiki-selenium/node_modules/regenerator-runtime/runtime.js:114:21)
at step (/Users/hulyakarakaya/mediawiki-selenium/node_modules/webdriverio/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
at /Users/hulyakarakaya/mediawiki-selenium/node_modules/webdriverio/node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13
at processTicksAndRejections (internal/process/task_queues.js:97:5)
Warning: Task "webdriver:test" failed. Use --force to continue.
Aborted due to warnings.
(base) ➜ mediawiki-selenium