Skip to content

fix(yarn): resolve stale git commit hashes blocking fresh installs#433

Open
r-sayar wants to merge 1 commit into
browser-use:mainfrom
r-sayar:fix/yarn-lock-git-deps
Open

fix(yarn): resolve stale git commit hashes blocking fresh installs#433
r-sayar wants to merge 1 commit into
browser-use:mainfrom
r-sayar:fix/yarn-lock-git-deps

Conversation

@r-sayar
Copy link
Copy Markdown

@r-sayar r-sayar commented May 16, 2026

Problem

yarn install fails on a fresh clone with:

error Couldn't find match for "1c30d7d7e76a3b0aa120b04dc6a26f5a12dccf67" in "refs/heads/..." for "ssh://git@github.com/whiskeysockets/libsignal-node.git"

Two entries in app/yarn.lock were resolved to specific commit SHAs that no longer exist on any branch of their respective repos (whiskeysockets/libsignal-node and electron/node-gyp). This breaks yarn install for anyone on a fresh clone without those exact SHAs already in their local git object store.

Fix

Replace the stale SHA pins with branch-head references (master / main) so Yarn can resolve them cleanly.

Test plan

  • yarn install completes without error on a fresh clone
  • task up starts the app normally

🤖 Generated with Claude Code


Summary by cubic

Fixes yarn install failures on fresh clones by updating git dependency resolutions in app/yarn.lock. Replaces stale commit SHAs for libsignal and @electron/node-gyp with branch heads so installs resolve cleanly.

  • Dependencies
    • @electron/node-gyp: switch to https and #main instead of a deleted SHA.
    • libsignal: switch to https and #master instead of a deleted SHA.

Written for commit 83f2cfc. Summary will update on new commits. Review in cubic

libsignal and @electron/node-gyp were pinned to commit hashes that no
longer exist on any branch, causing `yarn install` to fail for anyone
without those exact SHAs in their local git cache.

Replaced the resolved SHA pins with branch-head references so the
lockfile resolves cleanly on a fresh clone.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Re-trigger cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant