Problem/Motivation

When switching to Yarn 4, a new file came along - .yarn/install-state.gz. According to the Yarn FAQ:

According to https://yarnpkg.com/getting-started/qa:

.yarn/install-state.gz is an optimization file that you shouldn't ever have to commit. It simply stores the exact state of your project so that the next commands can boot without having to resolve your workspaces all over again.

Proposed resolution

1. Remove .yarn/install-state.gz from the repo

2. Add to the .gitignore so it doesn't re-appear

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

chrisfromredfin created an issue. See original summary.

bhogue’s picture

Issue tags: +#nedcamp2024

Looking into this at NEDCamp. Adding the issue tag.

bhogue’s picture

Status: Active » Needs review
ankitv18’s picture

Status: Needs review » Reviewed & tested by the community

Quite straightforward ~~ changes done as per proposed solution, hence marking this one RTBC

chrisfromredfin’s picture

Status: Reviewed & tested by the community » Fixed

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.