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
Node-Alpine: Initialization Failed #1205
Comments
@ofirsnb Hi again :) |
Hey @avifenesh :) Attaching the node_modules content (in the demo above): node_modules content
|
@Elen-Ghulam , as discussed please estimate the effort and provide ETA. |
Thank you @ofirsnb for creating the docker demo. |
Thank you very much for your response, @acarbonetto . |
We're making some progress here: |
Turns out the |
Describe the bug
Seems like the package (Node) cannot be initialized when running under
alpine
image.Expected Behavior
Package should be initialized properly.
Current Behavior
When running under
alpine
image (using official Node images), the code crashes with the error:Reproduction Steps
Dockerfile
If you use the
node:18.19.0
image instead ofnode:18.19.0-alpine
, it works as expected.You can use the Demo I pushed here: https://github.com/ofirsnb/node-glide-demo
Possible Solution
If I understand correctly, it's an "issue" with the
rs-glide
itself, not necessarily your wrapper.Probably it's happening due to missing dependencies, because the
alpine
is a very slim image.If indeed that's the case, I think the best solution would be to add to the documentation the required dependencies, so we can install them during the docker build.
Additional Information/Context
No response
Client version used
0.3.3, 0.2.0
Redis Version
7.2
OS
Linux
Language
TypeScript
Language Version
5.4.3
Cluster information
No response
Logs
No response
Other information
No response
The text was updated successfully, but these errors were encountered: