3 people reported
All time, since Jun 3, 2024.
Dev server fails on Node built-ins
“Error every time you try to run npm run dev”
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/6845/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
Dev server fails on packages importing Node.js built-ins. Hydrogen on Vite errors when a package uses "fs", "buffer" or "node:buffer", often after Vite adds it to optimizeDeps.include.
Is this your bug?
File my report- Where
- Hydrogen dev server
- Error text
Consider disabling ssr.noExternal or remove the built-in dependency- Versions
- 2024.4.2 to 2024.10.0
- 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
- Can't use remix-run/node and run the dev server with HydrogenOn GitHubhydrogen #2686
- cant install/import @sengrid/mail package into resource routeOn GitHubhydrogen #2599
- Error: [o2:runtime] External modules are not supported: "buffer" when attempting to upgrade to ViteOn GitHubhydrogen #2187