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)
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.');
I have been getting below error when trying to execute
wdio v6
testcasescouldn'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#sleepTrying 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
I have also tried
../.bin/node-gyp rebuild
After all these steps I am getting below error
fibers: 4.0.3 Node.js version: v12.15.0
Please suggest how to fix this issue