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";

Inside example, there's this line:
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",
]
Was this page helpful?