-
Notifications
You must be signed in to change notification settings - Fork 150
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
Can't set up dev environment/fibers won't compile #608
Comments
Hi @rgarner I've had a quick go with the following combination:
Regarding the errors, it looks like there were breaking changes in Python v3.11+ but v3.10 worked |
@colinrotherham thanks! I installed
|
Ah sorry @rgarner are you able to run Node.js 14 on Apple Silicon? This line tells me you're on a Node.js 20 release:
|
I'll get If it's the case that these versions are required to be in alignment for contribution, would it help to have a EDIT: ah, you have one for Node! I just didn't know where I was looking... |
@colinrotherham that's got it, thanks! |
Thanks @rgarner that's great Good point regarding Python, was new to me today that v3.11 broke I'll see if we can add an update with this project under maintenance |
For the purposes of context, I'm going to leave the log you get when you use the right node (14.x) with the wrong version (>=3.11) of Python, before adding a
|
Also update CONTRIBUTING.md to match. For contribution, add versions we know to work together. @wdio/sync brings fibers, which needs compilation. That compilation fails for some combinations of Node and Python: ``` ValueError: invalid mode: 'rU' while trying to load binding.gyp ``` or ``` npm ERR! ../src/fibers.cc:27:65: error: no member named 'kFinalizer' in 'v8::WeakCallbackType' npm ERR! handle.SetWeak(val, WeakCallbackShim<F, P>, WeakCallbackType::kFinalizer); npm ERR! ~~~~~~~~~~~~~~~~~~^ ``` Fixes alphagov#608.
Also update CONTRIBUTING.md to match. For contribution, add versions we know to work together. @wdio/sync brings fibers, which needs compilation. That compilation fails for some combinations of Node and Python: ``` ValueError: invalid mode: 'rU' while trying to load binding.gyp ``` or ``` npm ERR! ../src/fibers.cc:27:65: error: no member named 'kFinalizer' in 'v8::WeakCallbackType' npm ERR! handle.SetWeak(val, WeakCallbackShim<F, P>, WeakCallbackType::kFinalizer); npm ERR! ~~~~~~~~~~~~~~~~~~^ ``` Fixes alphagov#608.
Also update CONTRIBUTING.md to match. For contribution, add versions we know to work together. @wdio/sync brings fibers, which needs compilation. That compilation fails for some combinations of Node and Python: ``` ValueError: invalid mode: 'rU' while trying to load binding.gyp ``` or ``` npm ERR! ../src/fibers.cc:27:65: error: no member named 'kFinalizer' in 'v8::WeakCallbackType' npm ERR! handle.SetWeak(val, WeakCallbackShim<F, P>, WeakCallbackType::kFinalizer); npm ERR! ~~~~~~~~~~~~~~~~~~^ ``` Fixes alphagov#608.
Migrates WebdriverIO tests away from the deprecated “sync” syntax which both unblocks Node.js 16+ upgrades in future and removes the requirement for a Python build step See: #608
Migrates WebdriverIO tests away from the deprecated “sync” syntax which both unblocks Node.js 16+ upgrades in future and removes the requirement for a Python build step See: #608
Migrates WebdriverIO tests away from the deprecated “sync” syntax which both unblocks Node.js 16+ upgrades in future and removes the requirement for a Python build step See: #608
I've avoided this issue by removing |
Migrates WebdriverIO tests away from the deprecated “sync” syntax which both unblocks Node.js 16+ upgrades in future and removes the requirement for a Python build step See: #608
Migrates WebdriverIO tests away from the deprecated “sync” syntax which both unblocks Node.js 16+ upgrades in future and removes the requirement for a Python build step See: #608
Migrates WebdriverIO tests away from the deprecated “sync” syntax which both unblocks Node.js 16+ upgrades in future and removes the requirement for a Python build step See: #608
Migrates WebdriverIO tests away from the deprecated “sync” syntax which both unblocks Node.js 16+ upgrades in future and removes the requirement for a Python build step See: #608
Migrates WebdriverIO tests away from the deprecated “sync” syntax which both unblocks Node.js 16+ upgrades in future and removes the requirement for a Python build step See: #608
Migrates WebdriverIO tests away from the deprecated “sync” syntax which both unblocks Node.js 16+ upgrades in future and removes the requirement for a Python build step See: #608
Migrates WebdriverIO tests away from the deprecated “sync” syntax which both unblocks Node.js 16+ upgrades in future and removes the requirement for a Python build step See: #608
Migrates WebdriverIO tests away from the deprecated “sync” syntax which both unblocks Node.js 16+ upgrades in future and removes the requirement for a Python build step See: #608
Migrates WebdriverIO tests away from the deprecated “sync” syntax which both unblocks Node.js 16+ upgrades in future and removes the requirement for a Python build step See: #608
Migrates WebdriverIO tests away from the deprecated “sync” syntax which both unblocks Node.js 16+ upgrades in future and removes the requirement for a Python build step See: #608
I'm on node
v20.5.0
, and wanting to contribute something (a debounce to avoid swamping a server), I've cloned the repo and attempted tonpm install
.@wdio/sync
and/orwebdriverio
at the current version brings infibers
, which has a "NOTE OF OBSOLESCENCE" next to it. On my machine, Apple Silicon, thenode_gyp
that that brings in cannot compile. There's an earlyEBADENGINE
warning against@wdio/sync
which suggests this would only work between nodes 12 and 15.x. There are a bunch of deprecations too, but I'm ignoring those for now in an effort to getnpm test
andnpm run build
to work.I'm primarily Ruby rather than JS, so apologies if I've missed something critical. I've checked the contributing guidelines and I think I'm good, but I'll happily take notes.
WARNING: large log ahead
The text was updated successfully, but these errors were encountered: