Open jakub-wisniowski opened 6 years ago
@adzina Thanks for posting, we'll take a look as soon as possible.
For help with questions about Sails, click here. If you’re interested in hiring @sailsbot and her minions in Austin, click here.
@adzina Considering the error message:
Cannot initialize Waterline. The installed version of adapter sails-mongo is too new! Please try installing a version < 1.0.
Try installing an older version of sails-mongo in your project with Sails. v0.12.13
npm install sails-mongo@^0.12.3
Hope this helps!
Sails version: 0.12.13 Node version: 6.11.0 NPM version: 4.6.1 DB adapter name: sails-mongo DB adapter version: 4.6.1 Operating system: Win10
I've created a clean sails project and want to connect to mongoDB but on sails lift I get the following error:
In connections.js I wrote:
This setup works in my older sails app. The only difference between them is that the working version's
package.json
does not list sails-mongo as a dependency, while the fresh project lists it as follows:"sails-mongo": "^1.0.1"
I suppose the sails-mongo 4.6.1 is installed globally and I don't want to change it, because I don't want to break my older app. What can I do to make it work?