DenoDDeno
Powered by
iFonny (Nico)I
Denoβ€’3w ago
iFonny (Nico)

Deno Typescript "References" doesn't work inside "node_modules"

✍️VS Code / LSPπŸ§‘β€πŸ’»JS / TS DevelopmentπŸ—οΈNode CompatibilityπŸ“¦npm Package
πŸ› Using VSCode, when using
"nodeModulesDir": "auto"
"nodeModulesDir": "auto"
the "Go to references" or anything related doesn't work inside the node_modules, for exemple when trying to go deeper in packages types
It working fine when using
"nodeModulesDir": "none"
"nodeModulesDir": "none"
, but for packages like "Lefthook" lifecycle scripts are only supported when using a
node_modules
node_modules
directory :/
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Deno LSP + React + TypeScript + Vite (--node-modules-dir)
Kodjo.aiKKodjo.ai / help
3y ago
`deno.disablePaths` doesn't work
babakfpBbabakfp / help
3y ago
`deno cache` with `node_modules_dir` moves sub-dependencies into `.deno/node_modules` dir
N!NZBRETTNN!NZBRETT / help
3y ago
Deno installation script doesn't work
AlienautAAlienaut / help
2y ago