balderdashy / sails

Realtime MVC Framework for Node.js
https://sailsjs.com
MIT License
22.84k stars 1.95k forks source link

Cannot initialize Waterline. The installed version of adapter `sails-mongo` is too new! Please try installing a version < 1.0. #6955

Open VicAMMON opened 4 years ago

VicAMMON commented 4 years ago

10.18.0: "sails": "^1.1.0", "sails-disk": "^0.10.10", "sails-hook-grunt": "^3.1.0", "sails-hook-orm": "^1.0.9y", "sails-hook-sockets": "^1.5.3", "sails-mongo": "^1.1.0",


sailsbot commented 4 years ago

@VicAMMON Thanks for posting! We'll take a look as soon as possible.

In the mean time, there are a few ways you can help speed things along:

Please remember: never post in a public forum if you believe you've found a genuine security vulnerability. Instead, disclose it responsibly.

For help with questions about Sails, click here.

georgeben commented 4 years ago

@VicAMMON What version of MongoDB are you using? To find out, type the command mongo --version on your terminal.

nahanil commented 4 years ago

If I were to guess it's most likely related to the outdated version of sails-hook-orm. 2.1.1 was released quite a while ago

VicAMMON commented 4 years ago

@VicAMMON What version of MongoDB are you using? To find out, type the command mongo --version on your terminal. Mongodb 4.0x64

johnabrams7 commented 4 years ago

@VicAMMON Tested the adapter successfully with sails-mongo 1.1.0, sails 1.2.3, mongo 3.6, and sails-hook-orm 2.1.1 with the standard setup. I agree with the current responses, try updating sails-hook-orm": "^1.0.9 to the latest major version sails-hook-orm 2.1.1 if feasible. Though the sails-mongo adapter is designed for mongo 3.4 and 3.6, 4.0 should generally work as well. 👍

VicAMMON commented 4 years ago

Thank you for your suggestions , i`ll try

grimz11 commented 4 years ago

@johnabrams7 why include mongo? he is using sails-mongo adapter? I'm wondering please explain

VicAMMON commented 4 years ago

@johnabrams7 why include mongo? he is using sails-mongo adapter? I'm wondering please explain

Yes I`m having problem with using MongoDb with Sails