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
v9.4.1 breaks in nodejs12 especially node:12-alpine #463
Comments
When you run it locally what kind of errors do you get? |
I think I found why it isn't working. There was a recent PR that reverted some changes wrongfully, which was was got applied to 9.4.1. You can stick to 9.4.0 or wait until there's a new major release in the coming days/weeks. It should be resolved in the next 9.5 release. |
This isn't just alpine related. I've tried micro with Node.js v14, v16 and v18 on macOS. Non of them worked with 9.4.1. Downgrading to 9.4.0 fixes the issue. This even effects simple code examples from the README ( |
@electerious As I said in the previous comment, there's an issue with 9.4.1 and I wouldn't recommend using it. Stick to 9.4.0 for the moment 😄 |
I seem to run into the same issue with 9.4.0 with NodeJS v12. Could anyone please share an example of a Dockerfile to ensure I have it right? Running |
Hi @ranrao,
I do not have the exact dockerfile now as I have changed my laptop after I
moved to India. But what I remember is that, we use node14 images of alpine
linux, and for this experiment I exec'd into the container and ran `npm
install ***@***.*** version`.
…On Sat, Nov 5, 2022 at 12:35 AM ranrao ***@***.***> wrote:
@samarjit <https://github.com/samarjit> could you please share a sample
of your Dockerfile please? I seem to have the same issue with v9.4.0.
—
Reply to this email directly, view it on GitHub
<#463 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEUAH5M5DBJCWMNOASEP23WGXW23ANCNFSM55MYTACQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
The code has been significantly changed with v10. Please reopen or create a new issue with a reproduction is you are still seeing this issue on v10. Thanks! |
I am not able to pin point the problem why it breaks in node:12-alpine image. When I log into the container I do see process listening on port 3000. But
curl http://localhost:3000/ishealthy
gets stuck and was failing even while running inside the pod using exec. Nginx reports connection refused to this container.Our fix was to revert to 9.4.0 which works fine.
I thought I would post it incase someone else faces this problem.
Meanwhile we are trying to upgrade to node16 to see if 9.4.1 works there.
Update: Node 16 also did not work so we are back to 9.4.0
The text was updated successfully, but these errors were encountered: