imabnormal
imabnormal2y ago

VScode Deno Extensions produces constant errors

I am currently using Deno with Opine in order to rewrite an API from JS to TS. While Opine only is used in one file, I chose Deno for the TS support and this I must have it enabled on all files in order to run(AFAIK). My issue comes with Deno constantly producing errors like the one pictured that I cannot find answers on how to solve. This pop up every few seconds making it extremely distracting, and as Errors their is no way to silence them even in VScode. I understand this means that deno features are not working and even after reinstalls they stop working after a little bit. Meaning I also loose functionality like hover and such Often the error is one of the following.
[Error - 9:34:10 PM] Request textDocument/codeAction failed.
Message: Invalid request
Code: -32600
[Error - 9:34:10 PM] Request textDocument/codeAction failed.
Message: Invalid request
Code: -32600
or
Unable to get definition from TypeScript: Error: Debug Failure. should never ask for module name at index higher than possible module name
Unable to get definition from TypeScript: Error: Debug Failure. should never ask for module name at index higher than possible module name
Any help solving this would be greatly appreciated. EDIT: Issue happens whenever I import a new file/local module into a file
0 Replies
No replies yetBe the first to reply to this messageJoin