mirror of
https://github.com/denoland/deno.git
synced 2024-11-30 16:40:57 -05:00
484f8ca9c3
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
288 B
Text
7 lines
288 B
Text
error: Uncaught (in promise) ReferenceError: clearImmediate is not defined
|
|
clearImmediate;
|
|
^
|
|
at [WILDCARD]clear_immediate.js:1:1
|
|
|
|
info: clearImmediate is not available in the global scope in Deno.
|
|
hint: Import it explicitly with import { clearImmediate } from "node:timers";.
|