In Compatibility with node 13.5
See original GitHub issueDescribe your question with as much detail as possible
Unable to run tests with node 13 as wdio-sync
fibers are not getting loaded, got below log while execution:
2019-12-24T01:32:09.621Z DEBUG @wdio/sync: Couldn't load fibers package for Node v10 and above
2019-12-24T01:32:09.624Z DEBUG @wdio/sync: Couldn't load fibers package for Node v8
Tried uninstalling and installing all packages with latest version but no luck.
Environment (please complete the following information):
- WebdriverIO version: 5.18.0
- Mode: WDIO Testrunner
- If WDIO Testrunner, running sync/async: sync
- Node.js version: 13.5.0
- NPM version: 6.13.4
- Browser name and version: Chrome 79
- Platform name and version: MAC
- Additional wdio packages used (if applicable):
"@wdio/cli": "5.18.1",
"@wdio/cucumber-framework": "5.16.15",
"@wdio/local-runner": "5.18.0",
"@wdio/reporter": "5.15.2",
"@wdio/spec-reporter": "5.16.11",
"@wdio/sync": "5.17.0",
Issue Analytics
- State:
- Created 4 years ago
- Comments:22 (9 by maintainers)
Top Results From Across the Web
Previous Releases - Node.js
Version Date V8 npm NODE_MODULE_VERSION
Node.js 19.3.0 2022‑12‑14 10.8.168.21 9.2.0 111 Downloads C...
Node.js 19.2.0 2022‑11‑29 10.8.168.20 8.19.3 111 Downloads C...
Node.js 19.1.0 2022‑11‑14 10.7.193.20 8.19.3...
Read more >node - npm
Start using node in your project by running `npm i node`. There are 545 other projects in the npm registry using node. ......
Read more >Compatibility and requirements for the Node.js agent
The Node.js agent is compatible with the following operating systems: Linux; SmartOS; macOS 10.7 and higher; Windows Server 2008 and higher The following...
Read more >The engine "node" is incompatible with this module
In my case, I am using yarn workspaces and some of the modules in the package.json files in the workspaces might require foo...
Read more >Node.js ES2015/ES6, ES2016 and ES2017 support
Yes. Yes Yes. Yes Error. Error Error. Error Error. Error Error. Error
function() function() function() function() function() function()
function() function() function() function() function() function()
function() function()...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@DenysBarkan and others — only this:
"fibers": "^5.0.0"
didn’t work for me, because Webdriverio v6 depends on Fibers v4. If you just add Fibers v5, it’ll get installed, but Webdriverio continues using v4. (As far as I’ve understoold, looking atyarn.lock
.)But by allso adding a
"resolutions": ...
entry to force Webdriverio to use Fibers v5,sync
started working for me with Nodejs 14.Here’s my
package.json
:@christian-bromann
Yes :- ) I’ve started, however, still about 180 Webdriverio v6 tests left to migrate to v7. About 1 whole week of work. It’s nice that now I can do this a little bit at a time (since I got v6 working with Nodejs 14) instead of all at once. Webdriver is really nice b.t.w. the best e2e test framework I’ve used.
returns the exception :
"DEBUG @wdio/sync: Couldn't load fibers package for Node v10 and above"
instead of the working flow
works without any additional messages.
The downgrade of the node to v12 solves the problem with the issue.