krmlK
Denoβ€’2y agoβ€’
4 replies
krml

Fresh project next to regular Deno project

Hey, I have a question about adding a fresh project next to a regular Deno project.

I have the following setup, with the global
deno.json
sitting in the root directory
- .vscode
    - settings.json
- gui
    - fresh-resources-here
- worker
    - backend code
- orchestrator
    - backend code
deno.json


Before the introduction of the
gui
directory, any import and the Deno namespace works fine.

Using
enablePath
without the
gui
directory also works fine, but adding
gui
to the paths breaks it. Giving me the
Deno.cron
not found in the
Deno
namespace. It seems that the global
settings.json
where we define
deno.unstable: true
does not work after introducing the
gui
directory and breaking the whole
Deno
namespace for us.

Maybe I just have a problem understanding it, but I cannot get it to work in VSCode without problems.
Was this page helpful?