-
Notifications
You must be signed in to change notification settings - Fork 0
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.js] On scalingo-18 this buildpack resolves Node.js to an incompatible version #42
Comments
I can see the PHP buildpack uses a Semver server located at semver.io. Maybe part of the solution to this problem is to use our own Semver app (https://semver.scalingo.com/) so that we can control what it returns by default? Or maybe the solution is to write a nice message in case we detect Node.js >= 18 and the stack scalingo-18 so that we display a nice error message? |
It could be a good solution. Switch to https://semver.scalingo.io/node-$STACK/resolve/$SEMVER_RANGE and ensure that it resolved correctly (currently it doesn't). I'm not found of the message. IMHO if the user doesn't specify any Node.JS version, we should resolve it correctly. IMHO the fix is in 2 parts:
|
Another customer impacted: https://app.intercom.com/a/apps/w4oogu7s/inbox/inbox/all/conversations/12375700070668 |
The path https://semver.scalingo.com/node-scalingo-18/versions shouldn't resolve versions > 16 |
Closing this issue as our stack |
Node 18 broke the compatibility with Ubuntu 18.04 (used by our scalingo-18 stack) see: nodejs/node#42351
Currently any build done on scalingo-18 that needs Node.JS without freezing it to a version <= 17 are failing with the following error:
Related to SRE-443
The text was updated successfully, but these errors were encountered: