DenoDDeno
Powered by
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", ]
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)?
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

WebStorm not recognising deno.json import map
JamesJJames / help
4mo ago
Dynamic import with absolute path outside of project directory
venrilVvenril / help
16mo ago
Import map
SpixySSpixy / help
3y ago