.. [webpack.cache.PackFileCacheStrategy] Serializing big strings (109kiB) impacts deserialization performance (consider using Buffer instead and decode when needed) .. [webpack.cache.PackFileCacheStrategy] Serializing big strings (112kiB) impacts deserialization performance (consider using Buffer instead and decode when needed) ▲ Compiled with warnings ./node_modules/scheduler/cjs/scheduler.production.min.js ▲ A Node.js API is used (MessageChannel at line: 120) which is not supported in the Edge Runtime. .. ./node_modules/scheduler/cjs/scheduler.production.min.js ▲ A Node.js API is used (setImmediate at line: 51) which is not supported in the Edge Runtime.
The build completes successfully.
The dependency of Scheduler looks like this: $ npm ls scheduler <the-app> └─┬ react-dom@18.2.0 └── scheduler@0.23.0
So this is an npm module used by standard react-dom.
Running with yarn pages:dev and launching localhost shows this only message in the browser:
Internal Server Error
And on the command-line this can be seen:
✘ [ERROR] ⨯ TypeError: (w.adapter || b.adapter) is not a function wrangler:inf] GET / 500 Internal Server Error (178ms)
Not much to go on. There are references to generated files, like: