-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Installing fails with node-gyp-build error for leveldown for Node 18 + PNPM #14
Comments
I just upgraded the package-lock version and the packages. Can you please check if this helped? Upgrading to v8 will be more work as there were a lot of breaking changes. |
Encountering the same issue with release 0.1.2 on Node v16.19.0 & pnpm 7.18.2
|
apple silicon failed install
|
I'm getting this issue too. node v21.0.0, npm 10.2.1, node-gyp 9.4.0 |
The issue is fixed in level v8 but y-level is still using v6. Until that's fixed you can try overriding in you package.json.
{
"name": "works",
"dependencies": {
"level": "^8.0.0",
"y-leveldb": "^0.1.2",
"y-websocket": "^1.5.0",
"yjs": "^13.6.8"
},
"overrides": {
"y-leveldb": {
"level": "$level"
}
}
}
{
"name": "fails",
"dependencies": {
"y-leveldb": "^0.1.2",
"y-websocket": "^1.5.0",
"yjs": "^13.6.8"
}
} |
Checklist
Describe the bug
Presumably other setups too.
The
level
package is now on v8 and this package is using v6. Presumably upgradinglevel
would fix things.To Reproduce
Steps to reproduce the behavior:
Expected behavior
It installs.
The text was updated successfully, but these errors were encountered: