Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing binary error #444

Open
palash2601 opened this issue Aug 6, 2020 · 0 comments
Open

Missing binary error #444

palash2601 opened this issue Aug 6, 2020 · 0 comments

Comments

@palash2601
Copy link

palash2601 commented Aug 6, 2020

I have been getting below error when trying to execute wdio v6 testcases

couldn't load fibers package for node v10 and above

To narrow down the issue I am trying to run the simple sleep.js script which is provided in fibers doc https://www.npmjs.com/package/fibers#sleep

Trying to fix this I tried to build/rebuild the locally installed fibers package using node-gyp as mentioned in the fibers docs.
https://www.npmjs.com/package/fibers#from-source (Note: section)

Below are the commands in my script

cd node_modules/fibers
../.bin/node-gyp configure
../.bin/node-gyp build
rm bin/linux-x64-72-glibc/fibers.node
mv node_modules/fibers/build/Release/fibers.node node_modules/fibers/bin/linux-x64-72-glibc/fibers.node

I have also tried ../.bin/node-gyp rebuild

After all these steps I am getting below error

Error: The module 'node_modules/fibers/bin/linux-x64-72-glibc/fibers.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 64. This version of Node.js requires
NODE_MODULE_VERSION 72. Please try re-compiling or re-installing
..
...
...
node_modules/fibers/fibers.js:23
		throw new Error('Missing binary. See message above.');

fibers: 4.0.3
Node.js version: v12.15.0

Please suggest how to fix this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant