Issues migrating dependencies from v1.x to v2.x
Hey, I'm facing some issues when upgrading from v1.146 to v2.
We have a backend monorepo that uses
import_map.json
files to manage dependencies per sub module in our monorepo. We don't have a package.json for Deno (only for our Next.js frontend which is still on node). We do have a deno.jsonc
at the root level of our project. After upgrading to Deno v2, we get these errors when we run or try to install:
this is part of our import_map.json file:
What is the proper way to step Deno dependencies for v2 in a monorepo, and should we keep using import maps?1 Reply
seems like it was multiple isues at the same time, a dependency with incorrect version check, and I had to add
"nodeModulesDir": "auto",
to my deno.jsonc file and now it works