nikovic97
nikovic97•7mo ago

(In IntelliJ) Deno: Failed to load the import map at <absolute_path> (...)

I just started working with Deno today, and I'm liking it quite a bit so far 🙂 rn I'm running into the following problem with the Language Server though: On starting the LSP in IntelliJ, I get
Deno: Failed to load the import map at: <absolute/path/to/import_map.json>. Unsupported scheme "c" for module <that/same/absolute/path>. Supported schemes: [ "data", "blob", "file", "http", "https", ]
Deno: Failed to load the import map at: <absolute/path/to/import_map.json>. Unsupported scheme "c" for module <that/same/absolute/path>. Supported schemes: [ "data", "blob", "file", "http", "https", ]
I assume the "c" comes from the start of the absolute paths (i.e. my drive letter). I've tried changing the import-map location to the actual deno.json, but that changes nothing... Anyone have any pointers as to how I can fix this (and hopefully get nice syntax highlighting)?
2 Replies
nikovic97
nikovic97•7mo ago
well damn, but thanks for letting me know 🙂