mirror of
https://github.com/denoland/deno.git
synced 2024-12-28 10:09:20 -05:00
9f9eec1250
Add info/hint for terminal errors related to Node.js globals: - __filename - __dirname - Buffer - global - setImmediate - clearImmediate Closes https://github.com/denoland/deno/issues/17494
7 lines
248 B
Text
7 lines
248 B
Text
error: Uncaught (in promise) ReferenceError: global is not defined
|
|
global;
|
|
^
|
|
at [WILDCARD]global.js:1:1
|
|
|
|
info: global is not available in the global scope in Deno.
|
|
hint: Use globalThis instead, or assign globalThis.global = globalThis.
|