node-gradle / node-gradle/gradle-node-plugin

[bug] Node does not bundle with correct shebang/shims

Open
#223 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Groovy
Stars
677
Forks
120
PR merge metrics
No merged PRs in 30d

Description

Due to https://github.com/nodejs/node/issues/42367
could you always execute npm,npx inside its file directory (e.g. node-v17.7.1-linux-x64/bin ?

That would quickly solve this issue.

Contributor guide

No contributing guide indexed for this repository

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

Start by tracing how the bundled npm and npx entry points are invoked and compare that behavior with the linked Node.js issue. Confirm the change by verifying that both commands execute from the bundled Node bin directory, such as node-v17.7.1-linux-x64/bin.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.