runtime = 'edge' causes 'ReferenceError: self is not defined' error
Unanswered
Mnigos posted this in #help-forum
2 Replies
MnigosOP
export default function ProfilePage() {
return <>e</>
}
It works without defining
runtime
, but with runtime = 'edge'
it causes error: ⨯ ReferenceError: self is not defined
Everything works on development server and vercel deployment. The issue occurs when starting locally production build.
next@14.2.15
MnigosOP
bump