Giter VIP home page Giter VIP logo

Comments (5)

simplylizz avatar simplylizz commented on August 17, 2024 2

You can update package.json and set driver to the latest version (e.g. "mongodb": "^4.12.1"). Worked for me.

from mongodb-grafana.

ChinmoyPadhi avatar ChinmoyPadhi commented on August 17, 2024

You can update package.json and set driver to the latest version (e.g. "mongodb": "^4.12.1"). Worked for me.

@simplylizz I tried the same with "mongodb": "^6.0.1", but Jenkins is complaining No matching version found for mongodb@^6.0.1. whereas it worked with 4.12.1

Could you please help with right version, which I can use , I'm looking for version 6 and version 5

from mongodb-grafana.

simplylizz avatar simplylizz commented on August 17, 2024

@ChinmoyPadhi I think you're confusing driver (i.e. node package) version & mongodb server version.

from mongodb-grafana.

denef avatar denef commented on August 17, 2024

You can update package.json and set driver to the latest version (e.g. "mongodb": "^4.12.1"). Worked for me.

When I do that the server fails to run. Seems a mix of NPM versions. Any ideas? https://stackoverflow.com/questions/68692038/how-to-solve-error-syntaxerror-unexpected-token

grafana-storage/plugins/mongodb-grafana-master/node_modules/mongodb/lib/operations/add_user.js:16
        this.options = options ?? {};
                                ^

SyntaxError: Unexpected token ?

--- updated node, that fixed it

from mongodb-grafana.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.