deno no-cache-npm when using import maps for npm modules
alextricity25 opened this issue · comments
Alex Cantu commented
In my deno.json, I have the following import maps:
{
"imports": {
"google-cloud/storage": "npm:/@google-cloud/storage"
}
}
In my mod.ts file:
import { Storage } from 'google-cloud/storage';
const storage = new Storage();
coc-deno is giving me the following error (even after running CocCommand deno.cache
:
However, when I use the npm:
specifier, coc-deno seems to know what to do:
Heyward Fann commented
Language server's issue.