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

Support asdf

Open
#252 0 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

    > Task :yarnSetup FAILED

    added 1 package, and audited 2 packages in 716ms

    found 0 vulnerabilities
    Reshimming asdf nodejs...
    /opt/homebrew/opt/asdf/libexec/lib/commands/reshim.bash: line 29: $2: unbound variable

    FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ':yarnSetup'.
    > Process 'command 'npm'' finished with non-zero exit value 1

    * Try:
    > Run with --stacktrace option to get the stack trace.
    > Run with --info or --debug option to get more log output.
    > Run with --scan to get full insights.

    * Get more help at https://help.gradle.org

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 reproducing the reported yarnSetup failure with Node.js managed by asdf, using the command output and the referenced reshim.bash path as the initial clues. Trace how the plugin invokes npm during yarnSetup and define done as completing the task without the asdf reshim error.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.