nodejs / nodejs/node-gyp

Cannot install with Node 20.9.0

Open
#2,943 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
10.7k
Forks
1.9k
Avg merge
1d 4h
Merged PRs (30d)
5

Description

I executed the command yarn global add node-gyp and the error I received was:

[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
error @achrinza/node-ipc@9.2.6: The engine "node" is incompatible with this module. Expected version "8 || 9 || 10 || 11 || 12 || 13 || 14 || 15 || 16 || 17 || 18 || 19". Got "20.9.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.

I doubt this is a specific node-gyp issue, but I am not sure where else to report it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported yarn global add node-gyp command with Node 20.9.0 and inspect why @achrinza/node-ipc@9.2.6 is installed with an incompatible engine range. Confirm whether the failure belongs to node-gyp or that dependency; done means the responsible package has a compatible installation path or the report is redirected to its owner.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.