Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mongoose types failing to load #27042

Open
KegenGuyll opened this issue Nov 24, 2024 · 1 comment
Open

Mongoose types failing to load #27042

KegenGuyll opened this issue Nov 24, 2024 · 1 comment

Comments

@KegenGuyll
Copy link

Version: Deno 2.1.1 and 2.1.0

Works properly in 2.0.0

deno/$node_modules/.deno/mongoose@8.7.2/$node_modules/mongoose/types/aggregate.d.ts false
op_load file:///C:/Users/Kegen/Documents/Projects/tmrev/tmrev-api-deno/$node_modules/.deno/mongoose@8.7.2/$node_modules/mongoose/types/callback.d.ts false
op_load file:///C:/Users/Kegen/Documents/Projects/tmrev/tmrev-api-deno/$node_modules/.deno/mongoose@8.7.2/$node_modules/mongoose/types/collection.d.ts false
op_load file:///C:/Users/Kegen/Documents/Projects/tmrev/tmrev-api-deno/$node_modules/.deno/mongoose@8.7.2/$node_modules/mongoose/types/connection.d.ts false
op_load file:///C:/Users/Kegen/Documents/Projects/tmrev/tmrev-api-deno/$node_modules/.deno/mongoose@8.7.2/$node_modules/mongoose/types/cursor.d.ts false
op_load file:///C:/Users/Kegen/Documents/Projects/tmrev/tmrev-api-deno/$node_modules/.deno/mongoose@8.7.2/$node_modules/mongoose/types/document.d.ts false
op_load file:///C:/Users/Kegen/Documents/Projects/tmrev/tmrev-api-deno/$node_modules/.deno/mongoose@8.7.2/$node_modules/mongoose/types/error.d.ts false
op_load file:///C:/Users/Kegen/Documents/Projects/tmrev/tmrev-api-deno/$node_modules/.deno/mongoose@8.7.2/$node_modules/mongoose/types/expressions.d.ts false
op_load file:///C:/Users/Kegen/Documents/Projects/tmrev/tmrev-api-deno/$node_modules/.deno/mongoose@8.7.2/$node_modules/mongoose/types/helpers.d.ts false
op_load file:///C:/Users/Kegen/Documents/Projects/tmrev/tmrev-api-deno/$node_modules/.deno/mongoose@8.7.2/$node_modules/mongoose/types/middlewares.d.ts false
op_load file:///C:/Users/Kegen/Documents/Projects/tmrev/tmrev-api-deno/$node_modules/.deno/mongoose@8.7.2/$node_modules/mongoose/types/indexes.d.ts false
op_load file:///C:/Users/Kegen/Documents/Projects/tmrev/tmrev-api-deno/$node_modules/.deno/mongoose@8.7.2/$node_modules/mongoose/types/models.d.ts false
op_load file:///C:/Users/Kegen/Documents/Projects/tmrev/tmrev-api-deno/$node_modules/.deno/mongoose@8.7.2/$node_modules/mongoose/types/mongooseoptions.d.ts false
op_load file:///C:/Users/Kegen/Documents/Projects/tmrev/tmrev-api-deno/$node_modules/.deno/mongoose@8.7.2/$node_modules/mongoose/types/pipelinestage.d.ts false
op_load file:///C:/Users/Kegen/Documents/Projects/tmrev/tmrev-api-deno/$node_modules/.deno/mongoose@8.7.2/$node_modules/mongoose/types/populate.d.ts false
op_load file:///C:/Users/Kegen/Documents/Projects/tmrev/tmrev-api-deno/$node_modules/.deno/mongoose@8.7.2/$node_modules/mongoose/types/query.d.ts false
op_load file:///C:/Users/Kegen/Documents/Projects/tmrev/tmrev-api-deno/$node_modules/.deno/mongoose@8.7.2/$node_modules/mongoose/types/schemaoptions.d.ts false
op_load file:///C:/Users/Kegen/Documents/Projects/tmrev/tmrev-api-deno/$node_modules/.deno/mongoose@8.7.2/$node_modules/mongoose/types/schematypes.d.ts false
op_load file:///C:/Users/Kegen/Documents/Projects/tmrev/tmrev-api-deno/$node_modules/.deno/mongoose@8.7.2/$node_modules/mongoose/types/session.d.ts false
op_load file:///C:/Users/Kegen/Documents/Projects/tmrev/tmrev-api-deno/$node_modules/.deno/mongoose@8.7.2/$node_modules/mongoose/types/types.d.ts false
op_load file:///C:/Users/Kegen/Documents/Projects/tmrev/tmrev-api-deno/$node_modules/.deno/mongoose@8.7.2/$node_modules/mongoose/types/utility.d.ts false
op_load file:///C:/Users/Kegen/Documents/Projects/tmrev/tmrev-api-deno/$node_modules/.deno/mongoose@8.7.2/$node_modules/mongoose/types/validation.d.ts false
op_load file:///C:/Users/Kegen/Documents/Projects/tmrev/tmrev-api-deno/$node_modules/.deno/mongoose@8.7.2/$node_modules/mongoose/types/inferrawdoctype.d.ts false
op_load file:///C:/Users/Kegen/Documents/Projects/tmrev/tmrev-api-deno/$node_modules/.deno/mongoose@8.7.2/$node_modules/mongoose/types/inferschematype.d.ts false
op_load file:///C:/Users/Kegen/Documents/Projects/tmrev/tmrev-api-deno/$node_modules/.deno/mongoose@8.7.2/$node_modules/mongoose/types/virtuals.d.ts false
op_load file:///C:/Users/Kegen/Documents/Projects/tmrev/tmrev-api-deno/$node_modules/.deno/mongoose@8.7.2/$node_modules/mongoose/types/augmentations.d.ts false

@nakasyou
Copy link

I have a similar bug.
https://github.com/nakasyou/deno-ts-types-bug

The bug was not reproduced in Deno 2.0.0, but reproduced in Deno 2.1.1.

And, if "nodeModulesDir": "auto" is disabled, the bug isn't reproduced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants