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

Respect gradle offline mode

Open
#59 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Right now gradle-node-plugin ignores gradle offline mode and contacts the registry anyway.

The expected behavior is that it uses the local node_modules and perhaps using the npm offline flag. It should not fail with not being able to connect to internet.

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 gradle-node-plugin handles Gradle offline mode and when it contacts the Node package registry. Check how local node_modules is selected and whether the npm offline flag is passed; done means offline builds avoid internet access and do not fail because the registry is unreachable.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy, node.js
Domain
build-system, devtools
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.