import_map.json not working
I am currently trying to checkout an project in Deno 2.0.0 and when I try to run a task I get a warning and error:
My deno.json looks like this:
My import_map.json is placed at:
Does anyone know why I get this warning and error?
5 Replies
It works now... I don't know what changed...
You can't have both
importMap
and imports
entry in the config filebI wasn't. I only specified
importMap
Oh i think you were in a workspace setting
I wasn’t. I think vscode was confused because I recently needed to install Node in addition to Deno. After restarting vscode for a couple of time it worked again.