DenoDDeno
Powered by
PixelP
Denoβ€’4y agoβ€’
30 replies
Pixel

error Unsupported scheme node for module `nodemodule`. Supported schemes

I'm trying to import a module using:
import { example } from "npm:example";
import { example } from "npm:example";

Inside
example
example
, there's this line:
import something from "module";
import something from "module";

I get this error on that very line:
error: Unsupported scheme "node" for module "node:module". Supported schemes: [
    "data",
    "blob",
    "file",
    "http",
    "https",
]
error: Unsupported scheme "node" for module "node:module". Supported schemes: [
    "data",
    "blob",
    "file",
    "http",
    "https",
]
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,944Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Module loader hooks not supported
Definitely Not A DolphinDDefinitely Not A Dolphin / help
3mo ago
node:worker_threads "Module not found"
ginpaccGginpacc / help
2y ago
ERR_UNSUPPORTED_ESM_URL_SCHEME when building an Astro app with React islands
ozanOozan / help
6mo ago