2 people reported

All time, since Jun 18, 2025.

Codegen fails with Tailwind prettier

“shopify hydrogen codegen throws an 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/6899/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 codegen fails with prettier-plugin-tailwindcss installed. Running shopify hydrogen codegen or npm run dev errors after migrating to Hydrogen v2025.5.0; v2025.4.1 works.

Is this your bug?

File my report
Where
Hydrogen codegen
Error text
[Codegen] require() cannot be used on an ESM graph with top-level await. Use import() instead.
Platforms
macOS
How bad
Breaks a normal workflow.

Original reports2, newest first

  1. Shopify CLI fails to import ESM module (prettier tailwind plugin)On GitHubhydrogen #3262
  2. Codegen stops working after installing the official prettier-plugin-tailwindcss pluginOn GitHubhydrogen #2994

Do you work on Shopify?

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