argotorg / argotorg/solc-js

Uncaught ReferenceError: window is not defined

Open
#750 3 comments 0 reactions 0 assignees View on GitHub
waiting for more input
Dominant language
TypeScript
Stars
1.5k
Forks
350
Avg merge
8m
Merged PRs (30d)
1

Description

env: nextjs14.1.0

I Loading solc with web workers,and I get this error
image

This's my worker code
image

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the reported Next.js 14.1.0 setup using the worker code shown in the issue, then trace the solc-js worker-loading path that accesses window. Done means loading solc in a web worker without the ReferenceError; the issue does not name a repository file or test to start from.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, solidity, typescript
Domain
compilers, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.