MostlyGibberish
MostlyGibberish10h ago

Workspaces breaking imports in Neovim

Hello, I'm trying to incorporate Deno into a monorepo. I have workspaces set in my root deno.json, and some dependencies defined in deno.json for each of the workspaces. I'm able to run my code with the CLI just fine, but the lsp doesn't seem like it's able to find any of my dependencies, as every import line has the error "Relative import path "[...]" not prefixed with / or ./ or ../ deno (import-prefix-missing)" If I open up the same code in VSCode with the deno plugin, I don't get any errors, so it seems specific to denols/my config. Does anyone know how I can fix this?
0 Replies
No replies yetBe the first to reply to this messageJoin