mirror of
https://github.com/denoland/deno.git
synced 2024-12-21 06:44:45 -05:00
8 lines
243 B
Text
8 lines
243 B
Text
|
error: Uncaught (in promise) ReferenceError: window is not defined
|
||
|
"TextEncoder" in window;
|
||
|
^
|
||
|
at [WILDCARD]window1.js:1:18
|
||
|
|
||
|
info: window global is not available in Deno 2.
|
||
|
hint: Replace `window` with `globalThis`.
|