-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Latest Node:22 image package install compile error #2201
Comments
Often libraries will have precompiled binaries but if those binaries are not found then they are compiled at install time. You need to explicitly install the dependencies needed to compile, libmongocrypt in this case. |
We've been using the I think it might be the |
It appears yesterday's docker image update bumped node 22 from 22.13.1 -> 22.14.0 so I guess the issue is actually with 22.14 |
My build is also failing now on
|
Not sure where the N-API error comes from. Running this exact sha for me works
|
I wonder if the underlying bookworm was updated, cause I had the same python problem. Then had to revert to node:22.13.
Then I had to rerun these install commands from the wiki. https://github.com/Automattic/node-canvas/wiki/Installation%3A-Ubuntu-and-other-Debian-based-systems Before last friday, these reinstall steps were not needed. I don't think it's the Node image per say, but bookworm itself, maybe. |
Environment
node:22
Expected Behavior
Installing
mongodb-client-encryption
package should work.Current Behavior
Since the most recent update to the
node:22
tag the install fails with the following compile problem:Possible Solution
Forcing the build pipeline to use the previous
node:22
image (using:node@sha256:5145c882f9e32f07dd7593962045d97f221d57a1b609f5bf7a807eb89deff9d6
) allows the build to run without error.The text was updated successfully, but these errors were encountered: