I’m having issues with my preview deployment. I’m getting a consistent 500 errors…. they do vary, here’s some examples…
Error: require() of ES Module /var/task/node_modules/parse5/dist/index.js from /var/task/node_modules/jsdom/lib/jsdom/browser/parser/html.js not supported.
Module build failed: UnhandledSchemeError: Reading from "node:path" is not handled by plugins (Unhandled scheme).
node:child_process
Module build failed: UnhandledSchemeError: Reading from "node:child_process" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
This started yesterday during the outages but waited until today to redeploy. The build works fine locally but staging is not happy.
Things I’ve tried:
- Removing
node_modulesand.nextthenyarn+build+startlocally. All fine, no errors. - Redeploying a previously known good branch
- Reverting code to known good (previously deployed OK) state
Example deployment ID: 8w5nF8LX6Ps9hoyZ5HRtucGWASB2
Any advice appreciated

