MTAEM
Deno13mo 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.
Was this page helpful?