N!NZBRETTN
Denoβ€’2y agoβ€’
4 replies
N!NZBRETT

`deno cache` with `node_modules_dir` moves sub-dependencies into `.deno/node_modules` dir

If I execute deno cache --node-modules-dir package-lock.json, a
node_modules
directory is created - which is fine. But all sub-dependencies are downloaded into node_modules/.deno/node_modules. Unfortunately esbuild can't find these sub-dependencies as they are not where they're expected, as they should be directly in
node_modules
. Is there a way to tell deno to put all dependencies and sub-dependencies directly into
node_modules
?
Was this page helpful?