79832404

Date: 2025-11-28 09:15:03
Score: 1.5
Natty:
Report link

Since the error happens when node tries to parse the [...]/node_modules/mongodb/lib/collection.js:24:18 character, there is a good chance that there is a misconfiguration somewhere. Try to check if the project's setup is compatible with the mongodb version. Usually, from my experience, JS parsing errors inside well stablished modules happens because of misconfigurations. - Iguatemi CG

As per the author's comment, they fixed the issue by downgrading to the following versions:

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Iguatemi CG