Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-5798

BSON module is compiled with unexpected token "??="

    • Type: Icon: Bug Bug
    • Resolution: Community Answered
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: BSON
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      What problem are you facing?

      The BSON module compiles with the unexpected token ??= because of the line 267 in the file binary.ts of the bson module.

      What driver and relevant dependency versions are you using?

      I am not using any MongoDB driver or relevant dependency versions, although I am using the most recent version of the Mongoose driver (which depends on mongodb@6.2.0).

      Steps to reproduce?

      Install the latest version of the Mongoose Driver, then build the project and run it on a remote server.

            Assignee:
            Unassigned Unassigned
            Reporter:
            marco.lasagna@studenti.unitn.it Marco Lasagna
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: