Runtime edge causes internal server error
Unanswered
European hornet posted this in #help-forum
European hornetOP
On any page (expect for /api/*) setting the runtime to "edge" or "experimental-edge" causes an internal server error with the message: Error: <Html> should not be imported outside of pages/_document.
I've tested this on a fresh project, also tested using the latest canary version and it still occurs.
I've tested this on a fresh project, also tested using the latest canary version and it still occurs.
2 Replies
Havana
Which version are you using and where are you running / hosting the app?
European hornetOP
On my current project running 13.4.12, also tried it on the latest canary version. This is happening on localhost and also on cloudflare pages/workers