mirror of
https://github.com/denoland/deno.git
synced 2024-11-15 16:43:44 -05:00
b686907a45
This commit adds automatic injection of Node globals when "--compat" flag is present. This is done by executing "https://deno.land/std/node/global.ts" as a "side module", before main module is executed. This commit makes "--compat" required to be used with "--unstable" flag, as some of Node globals require unstable Deno APIs.
6 lines
322 B
Text
6 lines
322 B
Text
[WILDCARD]
|
|
Some Node built-ins were not added to the import map:
|
|
- "fs/promises" already exists and is mapped to "[WILDCARD]non_existent_file.js"
|
|
If you want to use Node built-ins provided by Deno remove listed specifiers from "imports" mapping in the import map file.
|
|
[WILDCARD]
|
|
error: Cannot resolve module [WILDCARD]
|