3 people reported
All time, since Jun 3, 2024.
Hydrogen upgrade fails on yarn
“When yarn shopify hydrogen upgrade is executed it fails while upgrading the dependencies.”
Is this your bug? What gets counted gets fixed. Pile on.
Paste this into your agent. It files your report, with your error and version.
I hit this bug: rapsheet.dev/sheets/shopify/issues/6512/file Follow it to file my report. Show me the text before you send.
No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends
Hydrogen upgrade fails on yarn projects using install subcommand. installNodeModules() in cli-kit always runs <pm> install <packages>, but yarn and pnpm require add for specific packages.
Is this your bug?
File my report- Where
- Shopify CLI
- Versions
- 3.56.3 to 2025.7.1
- Platforms
- Windows
- How bad
- Breaks a normal workflow. Some reports say it used to work. Some reports say it blocks them completely.
Not quite your bug?
Original reports3, newest first
- installNodeModules() uses wrong subcommand for yarn/pnpm when adding specific packagesOn GitHubcli #7042
node_modulesnot getting updated while upgrading shopify hydrogen version using yarnOn GitHubhydrogen #2830- Hydrogen CLI does not support Yarn v4 with Hydrogen upgradeOn GitHubhydrogen #2191