You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently trying out Fresh and all I did was create the initial Fresh scaffolding. Now when I open the components/Button.tsx file, VSCode shows me a bunch of errors:
For example the preact import is supposedly not found but this is clearly defined in the import_map.json.
Config setups I tried so far
VSCode settings in the deno project folder with "deno.enable": true
VSCode settings in the deno main folder with "deno.enable": true
VSCode settings in the root folder with "deno.enablePaths": ["./deno"] or "deno.enablePaths": ["./deno/project-folder"]
Could someone please point me in the right direction of how to approach this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi folks, I'm quite new to Deno and the VSCode plugin and I have problems setting this up correctly in a monorepo with some folder nesting.
Here is an example repository
Consider this repository setup:
I am currently trying out Fresh and all I did was create the initial Fresh scaffolding. Now when I open the
components/Button.tsx
file, VSCode shows me a bunch of errors:For example the
preact
import is supposedly not found but this is clearly defined in theimport_map.json
.Config setups I tried so far
"deno.enable": true
"deno.enable": true
"deno.enablePaths": ["./deno"]
or"deno.enablePaths": ["./deno/project-folder"]
Could someone please point me in the right direction of how to approach this?
Beta Was this translation helpful? Give feedback.
All reactions