-
Notifications
You must be signed in to change notification settings - Fork 107
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
Not compatible with newer versions of Electron; prebuild-install
needs updating
#126
Comments
Closed
This was referenced May 25, 2023
Any timeline when this will be fixed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is Windows 11, 64-bit. Create a
package.json
like so:Then run:
I see this error:
This is happening because
tree-sitter
depends onprebuild-install@^6.0.1
, which resolves toprebuild-install@6.1.4
, which depends onnode-abi@^2.21.0
, which resolves tonode-abi@2.30.1
, which is from August 2021 and only recognises versions of Electron up to 15.x.y. As seen above, we're up to Electron 22.3.2 right now.This can be fixed by upgrading to
prebuild-install@7
, which usesnode-abi@3
, which recognises all the latest versions of Electron. Note however thatprebuild-install@7
dropped support for Node.js < 10, which meanstree-sitter
would too. This may require a minor version bump on your part.The text was updated successfully, but these errors were encountered: