mirror of
https://github.com/denoland/deno.git
synced 2024-12-28 18:19:08 -05:00
9 lines
336 B
Text
9 lines
336 B
Text
|
error: Uncaught (in promise) ReferenceError: document is not defined
|
||
|
document.querySelector("div");
|
||
|
^
|
||
|
at [WILDCARD]document.js:1:1
|
||
|
|
||
|
info: document global is not available in Deno.
|
||
|
hint: Use a library like happy-dom, deno_dom, linkedom or JSDom
|
||
|
and setup the document global according to the library documentation.
|