2 people reported

All time, since Jun 6, 2025.

Hydrogen dev EPERM on doubled path

“The command fails with an EPERM: operation not permitted error.”

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/6902/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 dev fails with EPERM on doubled Users path. On Windows, the dev server writes virtual-routes +types files under 'C:\Users\Users\<username>\...' instead of the project path.

Is this your bug?

File my report
Where
Hydrogen dev server
Error text
Error: EPERM: operation not permitted, open 'C:\Users\Users\andre\PandaIT\dev\pau-henriques\node_modules\@shopify\hydrogen\dist\vite\virtual-routes\+types\layout.ts'
Versions
2025.5.0 to 2025.5.1
Platforms
Windows
How bad
Breaks a normal workflow.

Original reports2, newest first

  1. EPERM: operation not permitted on npm run dev on Windows due to incorrect path generationOn GitHubhydrogen #3194
  2. Hydrogen dev codegen fails on Windows with double-“Users” path causing EPERMOn GitHubhydrogen #2980

Do you work on Shopify?

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