2 people reported

All time, since Apr 1, 2025.

Hydrogen upgrade runs npm in monorepos with root lockfile

“Package manager detection only looks for a lockfile in the app directory itself.”

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/6848/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 runs npm in monorepos with root lockfile. Package manager detection only checks the app directory, so npm fails on workspace: protocol dependencies in pnpm workspaces.

Is this your bug?

File my report
Where
Hydrogen CLI
Versions
12.0.1
How bad
Breaks a normal workflow.

Not quite your bug?

  1. Hydrogen upgrade fails on yarn3 people

Original reports2, newest first

  1. hydrogen upgrade detects the wrong package manager in monorepos and runs npm inside pnpm/yarn/bun workspacesOn GitHubhydrogen #3793
  2. CLI Upgrade command can't detect the package manager in monorepos with single lock file at the rootOn GitHubhydrogen #2834

Do you work on Shopify?

Claim its RAP Sheet to see what your users report and answer them in one place.