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
Reload source code cache (recompile TypeScript) no value Reload everything jsr:@std/http/file-server,jsr:@std/assert/assert-equals Reloads specific modules npm: Reload all npm modules npm:chalk Reload specific npm module.
Also, https://docs.deno.com/runtime/reference/cli/install/#dependency-management-options-node-modules-dir should explain the parameters and what the "mode" means, given the parameter is called "dir". One parameter is mentioned in passing, auto, in a Tip, "If you want to set up local node_modules directory" (typo: a local). Going just by the docs, that's the only parameter, and anything else is considered a directory, but this should be clarified, as it's not the case (the CLI shows more parameters). Also, auto is not entirely intuitive, as it didn't find a node_modules in the parent directory and created one in the current directory. The undocumented manual parameter did the same.
$ deno install --node-modules-dir=../
error: invalid value '../' for '--node-modules-dir[=<MODE>]': Invalid value '../': expected "auto", "manual" or "none"
$ deno install --node-modules-dir=manual ../
error: ../ was not found in either jsr or npm.
At this point I can't tell how to instruct Deno about the location of the node_modules dir I want to use. --root seems to only pertain to installing executables.
The text was updated successfully, but these errors were encountered:
At https://docs.deno.com/runtime/reference/cli/install/#type-checking-options-check:
At https://docs.deno.com/runtime/reference/cli/install/#dependency-management-options-reload:
At https://docs.deno.com/runtime/reference/cli/install/#options-location
At https://docs.deno.com/runtime/reference/cli/install/#options-v8-flags
At https://docs.deno.com/runtime/reference/cli/install/#deno-install---global-%5Bpackage_or_url%5D
Also, https://docs.deno.com/runtime/reference/cli/install/#options-dev should explain what exactly -D does.
Also, https://docs.deno.com/runtime/reference/cli/install/#dependency-management-options-node-modules-dir should explain the parameters and what the "mode" means, given the parameter is called "dir". One parameter is mentioned in passing,
auto
, in a Tip, "If you want to set up local node_modules directory" (typo: a local). Going just by the docs, that's the only parameter, and anything else is considered a directory, but this should be clarified, as it's not the case (the CLI shows more parameters). Also,auto
is not entirely intuitive, as it didn't find anode_modules
in the parent directory and created one in the current directory. The undocumentedmanual
parameter did the same.At this point I can't tell how to instruct Deno about the location of the node_modules dir I want to use.
--root
seems to only pertain to installing executables.The text was updated successfully, but these errors were encountered: