I had no issues working with blockly within my react app. But in my Nextjs app, I had copied exact same code but getting this error,
I had used "use client" in every blockly component, and also tried to dynamically load the component using "next/dynamic" but still same error. Please help.