Uncaught ReferenceError: window is not defined
env: nextjs14.1.0
I Loading solc with web workers,and I get this error
This's my worker code
Hey @sajshuai!
The report above does not include enough information for us to diagnose the issue. Please provide a more detailed self-contained reproduction of the code causing the issue so that we can figure out what could be wrong. I would also recommend that you use text for the code snippets instead of a screenshot as a screenshot makes it hard for us to reproduce the error whereas we can simply copy the text while debugging.
I believe this issue is something I should fix since i can, I love bringing blockchain to the DOM for clients to consume.
Why do i think this error persists just because of a wrong import