You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same. you can edit the file /node_modules/winston-mongodb/node_modules/mongodb/lib/core/utils.js, and comment out the section that checks if the native module is available:
This seemed to work for me. I think the reason is the mongodb package used by Winston is very outdated, as well as the require-optional module that gets this test wrong.
🔎 Search Terms
mongodb-winston,typescript
The problem
Getting below error when using with TypeScript:
What version of Winston presents the issue?
v3.11.0
What version of Node are you using?
v20.x
If this worked in a previous version of Winston, which was it?
No response
Minimum Working Example
Additional information
No response
The text was updated successfully, but these errors were encountered: