Closed
Description
When trying to compile typescript, I get this error:
Cannot find module 'mongoose' or its corresponding type declarations.
I tried rm -rf node_modules, package-lock.json, as well clean installing with yarn to see if that fixed it but no luck.
For now, I am just adding mongoose as a dev dep in my root package.json but I'd like if there is a solution for this.
I'm using the latest version (0.5.2) and tried downgrading as well. Still no luck.
Metadata
Metadata
Assignees
Labels
No labels