Skip to content

Repo: Netlify PR deploys fail on latest Node.js 18.19.0 #8025

Closed
@auvred

Description

@auvred

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 on tsx side in the v4.6.1, but as I understand it, we can't just bump the tsx version, because tsx@4 doesn't support Node.js v16, although v16 it's still used in ci:

node-version: [16, 20]

So we can:

  1. Drop Node.js 16 support (it's already unmaintained) and bump tsx
  2. Pin Node.js version to 18.18.2 in Netlify
  3. Use something other than tsx

I guess the 1 is the best option?

Metadata

Metadata

Assignees

No one assigned

    Labels

    repo maintenancethings to do with maintenance of the repo, and not with code/docs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions