MostlyGibberish
MostlyGibberish
DDeno
Created by MostlyGibberish on 10/17/2024 in #help
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?
1 replies