sylvesteraryee
sylvesteraryee2mo ago

npm:<package-name> not auto-installing by default.

I was reading the documentation for npm package support and read this section: https://docs.deno.com/runtime/fundamentals/node/#using-npm-packages. My assumption was that deno would auto-install npm packages if non-existent by default without having to configure auto-install. Was I wrong in this assumption?
2 Replies
marvinh.
marvinh.2mo ago
Deno always installs packages automatically, unless you have a package.json in your project or have nodeModulesDir: "manual" in your deno.json
sylvesteraryee
sylvesteraryeeOP2mo ago
That was it. Thanks @marvinh. good to know