Skip to content

Node.js 22 is not supported #604

Open
@sidvishnoi

Description

@sidvishnoi

Describe the bug

│ npm error engine Unsupported engine
│ npm error engine Not compatible with your version of node/npm: @actions/github-script@7.0.1
│ npm error notsup Not compatible with your version of node/npm: @actions/github-script@7.0.1
│ npm error notsup Required: {"node":">=20.0.0 <21.0.0"}
│ npm error notsup Actual:   {"npm":"10.9.2","node":"v22.15.1"}

To Reproduce

  1. Have engines.node set to v22 in package.json
  2. Add package in devDependencies to get JSDoc support as per documentation.

Expected behavior
Package installs without error.

Screenshots

Image

Desktop (please complete the following information):

  • OS: Ubuntu 24
  • Version 7.0.1

Additional context
Is there anything blocking that Node.js 22 is not supported? Node.js 24 is already available too.
Fails even with engines-strict=false in .npmrc.

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