nikovic97N
Denoβ€’3y agoβ€’
2 replies
nikovic97

(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", ]

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)?
Was this page helpful?