underscore
underscore3mo ago

Could not find a matching package in the node_modules directory

Hi everyone, I'm using Deno with Prisma. When I run deno run -A npm:prisma migrate dev, it creates a node_modules folder, a package.json file, and package-lock.json. Now the node_modules conflicts with the packages that I've imported using "node:xyz".
No description
2 Replies
underscore
underscoreOP3mo ago
running deno install adds the express into the node_modules which again takes me back to what npm does
bartlomieju
bartlomieju3mo ago
There's no way around it with prisma Prisma generates files in node_modules directory based on your schema file So you have to use node_modules directory

Did you find this page helpful?