Skip to content

Error: Unsupported target versions: Node.js > v17 #710

Closed

Description

@cclauss

WORKAROUND: To support newer versions of Node.js > v17

npm ci  # mapbox/node-pre-gyp
npm run update-crosswalk

abi_crosswalk.json must be updated to cover all currently supported versions of Node.js.

Proof:

The testing on this repo fails on all currently supported versions of Node.js but passes on end-of-life versions.

@springmeyer @ewanharris, @mapsam

Activity

  1. added a commit that references this issue on Apr 11, 2024
  2. ewanharris commented on Apr 11, 2024

    @ewanharris
    Contributor

    @cclauss I think node-pre-gyp can be viewed as having no maintenance due to #657. I was never associated with the package, just made PRs as needed, and since that issue I ended up using patch-package to maintain updates to the abi_crosswalk.json file there, it's not ideal but AFAICT it's the only path forward for users right now.

    At 6.5 million weekly downloads and >1000 dependents (across @mapbox/node-pre-gyp and node-pre-gyp) it's clear this package is well used in the ecosystem but given that mapbox no longer uses this software could it potentially be picked up in some manner by the Node.js project? There may be better alternatives now (n-api, prebuild) but I think it's important to avoid this package potentially falling into the wrong hands

  3. changed the title [-]Error: Unsupported target version: 18.x.x or 20.x.x[/-] [+]Error: Unsupported target versions: Node.js > v17[/+] on Apr 14, 2024
  4. cclauss commented on Jun 29, 2024

    @cclauss
    CollaboratorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions