You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because the latest version 18.x of Node.js (18.19.0) is being used. It contains breaking changes for tsx package used in deployment. It has been fixed on tsx side in the v4.6.1, but as I understand it, we can't just bump the tsx version, because tsx@4doesn't support Node.js v16, although v16 it's still used in ci:
We wouldn't be able to drop Node.js 16 support until our next major version, as that'd be a breaking change. So for now we can either use something other than tsx or pin the Node.js version in Netlify to <=18.18.2.
Ah but environment variables are used instead - and NODE_VERSION was set to 18. I switched it to 18.18.2 just now. So this should be fixed. Thanks for filing!
Following #8045 -> #8048, we should be able to remove that env variable. I've set a reminder for January 3rd, just in case an older PR doesn't have the updated version of tsx.
Suggestion
Logs: https://app.netlify.com/sites/typescript-eslint/deploys/656cda722b027400084ae549#L64-L91
This is because the latest version 18.x of Node.js (18.19.0) is being used. It contains breaking changes for
tsx
package used in deployment. It has been fixed ontsx
side in thev4.6.1
, but as I understand it, we can't just bump thetsx
version, becausetsx@4
doesn't support Node.js v16, although v16 it's still used in ci:typescript-eslint/.github/workflows/ci.yml
Line 162 in cc2c6d3
So we can:
tsx
I guess the 1 is the best option?
The text was updated successfully, but these errors were encountered: