-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
4.1.0 not supported on Node 12 #2117
Comments
I'm actually going to close this. I forgot LTS support was dropped last week. It would've been nice if this followed semantic versioning though and semver major bumped dropping Node 12. |
Hey @bizob2828 , is the optional chaining removed, my strapi application using docker fails because of this change. Using node v14 in docker doesn't work either. Please update on this issue. Thanks. |
same issue. can someone point to proper fix. |
Still facing the same issue for docker node:14-alpine, Can someone help with what needs to be on Docker |
Upgrading my node version to current stable version fixed it for me. (my strapi version: 3.6.8)
|
Upgrading the node version to |
node: v16.15.0 I have the same issue. Can someone assist me with the fix? |
The "issue" may be fixed by changing package.json. In my case, i had the following dependency "redis": "^4.0.6". The "^" sign means that it can upgrade patch version, or minor version. 4.1.0 is a minor version, so i couldn't launch my app because my node version is 12.15.0 (thus, not including optional chaining) In case you want one specific version, you can specify so in the package.json by specifying "redis": "4.0.6" (without "^"). |
Isn't there a way to require a minimum node version so that it's visible to everyone facing this issue? /// package.json
"engines" : {
"npm" : ">=14",
} or something like this In any case, these are the only lines that provide visibility Line 34 in 01edb7c
Line 2 in 01edb7c
|
I am getting this on node version 20 as well. |
This may be expected based on this PR but I don't see a changelog entry for 4.1.0 yet.
Steps to reproduce
npm i [email protected]
on node 12.require('redis')
Expected Result
module works as expected
Actual Result
crash because library is using optional chaining.
Environment:
The text was updated successfully, but these errors were encountered: