Open Fritouz12 opened 3 years ago
@Fritouz12 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.
Hey @Fritouz12, The error you're seeing looks to be related to the datastore connection, would you mind sharing an example of how you're passing in your datastore connection url?
If you're seeing this error when providing your datastore username and password in the url
(e.g. url: 'mongodb://user:password@localhost/datastore'
) you can try providing parts of the connection url separately. e.g.
default: {
adapter: 'sails-mongo'
user: 'username',
password: 'password',
url: 'mongodb://localhost/datastore',
}
Hey, @Fritouz12 I have faced the same issue but not on the M1 chip MacBook but older MacBook running on Monterey. and it turned out to be an issue with the router's DNS setting which does not let sails connect with MongoDB, so look into routers setting or use VPN, Hope this works!
Node version: 16.13.0 Sails version (sails): 1.5.0 ORM hook version (sails-hook-orm): ^4.0.0 Sockets hook version (sails-hook-sockets): ^2.0.0 Organics hook version (sails-hook-organics): Grunt hook version (sails-hook-grunt): 1.0.4 Uploads hook version (sails-hook-uploads): DB adapter & version (e.g. sails-mysql@5.55.5): sails-mongo@2.0.0 Skipper adapter & version (e.g. skipper-s3@5.55.5):
Hello,
There is an issue with sails-mongo since I switch on last Mac M1 with macOS Monterey. Follow theses steps :
Thanks