Skip to content

node v20.4.0 is missing node-gyp #48812

Closed
@p3x-robot

Description

Version

v20.4.0

Platform

Linux demona 5.19.0-43-generic #44~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon May 22 13:39:36 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Subsystem

No response

What steps will reproduce the bug?

install node v18.16.1 and you have node-gyp under npm.

How often does it reproduce? Is there a required condition?

if you install node v20.4.0, under npm bin node-gyp is missing

What is the expected behavior? Why is that the expected behavior?

should work with node-gyp

What do you see instead?

node-gyp in v18.16.1 node-gyp is available:

patrikx3@demona:~/.nvm/versions/node/v18.16.1/lib/node_modules/npm/bin$ ll
total 36K
drwxr-xr-x 3 patrikx3 patrikx3 4,0K Jun 20 16:40 .
drwxr-xr-x 7 patrikx3 patrikx3 4,0K Jun 20 16:40 ..
drwxr-xr-x 2 patrikx3 patrikx3 4,0K Jun 20 16:40 node-gyp-bin
-rwxr-xr-x 1 patrikx3 patrikx3 1,4K Oct 11  2022 npm
-rwxr-xr-x 1 patrikx3 patrikx3   54 Oct 11  2022 npm-cli.js
-rwxr-xr-x 1 patrikx3 patrikx3  483 Oct 11  2022 npm.cmd
-rwxr-xr-x 1 patrikx3 patrikx3 1,6K Oct 11  2022 npx
-rwxr-xr-x 1 patrikx3 patrikx3 2,9K Dec  7  2022 npx-cli.js
-rwxr-xr-x 1 patrikx3 patrikx3  539 Oct 11  2022 npx.cmd

missing in v20.4.0:

patrikx3@demona:~/.nvm/versions/node/v20.4.0/lib/node_modules/npm/bin$ ll
total 32K
drwxr-xr-x 2 patrikx3 patrikx3 4,0K Jul  5 00:30 .
drwxr-xr-x 7 patrikx3 patrikx3 4,0K Jul  5 00:30 ..
-rwxr-xr-x 1 patrikx3 patrikx3 1,5K Jun 23 08:00 npm
-rwxr-xr-x 1 patrikx3 patrikx3   54 Oct 11  2022 npm-cli.js
-rwxr-xr-x 1 patrikx3 patrikx3  483 Oct 11  2022 npm.cmd
-rwxr-xr-x 1 patrikx3 patrikx3 1,6K Jun 23 08:00 npx
-rwxr-xr-x 1 patrikx3 patrikx3 2,9K Jun 23 08:00 npx-cli.js
-rwxr-xr-x 1 patrikx3 patrikx3  539 Oct 11  2022 npx.cmd

Additional information

No response

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