DenoDDeno
Powered by
MTAEM
Denoβ€’16mo ago
MTAE

Transitive dependency module not found?

I am using Deno 2. When I use this import:

import { plainToClass } from "https://deno.land/x/class_transformer/mod.ts"

and run my project, I get this error:

error: Module not found "https://deno.land/std@0.224.0/node/buffer.ts"

I'm new to Typescript and deno, so I don't understand if this is something I'm doing wrong or it means the class-transformer module is broken. I've tried a lot of suggestions from Meta AI but have not yet been able to import the class-transformer module.
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,944Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Transitive dependency "cannot find module"
DavisDDavis / help
15mo ago
[ERR_MODULE_NOT_FOUND]
[object Object][[object Object] / help
2y ago