Next.js Discord

Discord Forum

Getting TypeError: runtime.context.addEventListener is not a function error with Stackblitz

Unanswered
Hackberry nipple gall parasitoid posted this in #help-forum
Open in Discord
Hackberry nipple gall parasitoidOP
I have a simple nextjs app which uses the app directory (vs page directory) and am getting the above error. It runs fine in localhost and on vercel.
I finally restructured all the code under the pages directory and it worked .... but am very interested in building this out with the app directory style. - and using stackblitz codeflow for collaborative dev and demos. Any tips on how to debug ? https://stackblitz.com/~/github.com/pdhoward/aidemo

0 Replies