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

Yarn integrity errors breaking build

Open
#49 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

On some dev machines, under totally strange circumstances this kicks builds using node-gradle/gradle-node-plugin :

https://github.com/yarnpkg/yarn/issues/7584

current workaround for this is to run sh gradlew yarn_cache_clean

maybe sth else could be done like upgrading default version of yarn (hopefully if it was fixed in the meantime) to prevent this issue occuring in case of using this plugin?

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 checking the plugin's default Yarn version and the yarn_cache_clean task, then compare the failure with the linked upstream Yarn issue. Done means identifying a supported way to prevent the integrity error and verifying that builds no longer require the workaround.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.