medium75%
Turbopack runtime throws invariant error due to document.currentScript being null in Promise.then
Turbopack-enabled Next.js apps fail to hydrate on Pale Moon because the runtime reads document.currentScript inside an asynchronous callback, where it is null.
