fresh + workspace
i have bootstrapped a fresh project inside a deno workspace. when installing at the workspace root, i get the following error:
what does this mean?
here's the root deno.json (i've moved
lock
, compilerOptions
and nodeModulesDir
from the fresh project):
and here's the web's deno.json:
2 Replies
my solution is highly suspect. it turns out if i clone this into the root deno.json (from web's deno.json), i resolve the error:
but why should i specify this dependency at the root?
alternatively, if i start building an import map, it progresses, but gets incrementally stuck:
then complains on (and it seems to keep going...):
I am trying to do the same but with React. I also found that copying the configuration to root helps, but importing anything like
useState
doesn't work