mirror of
https://github.com/denoland/deno.git
synced 2024-12-21 06:44:45 -05:00
de34c7ed29
This PR adds a new `--unstable-node-globals` flag to expose Node globals by default. Fixes https://github.com/denoland/deno/issues/26611 --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
8 lines
365 B
Text
8 lines
365 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";,
|
|
or run again with --unstable-node-globals flag to add this global.
|