Open jhopper28 opened 8 years ago
@jhopper28 thanks for your interest in this project. I'm sorry for my delay in the response, I've been busy. Just to check the obvious,
what version of couchbase are you working with?
Did you try running npm test
? Throws the same error?
Let me know, Am testing and checking on my end as well.
Cheers.
Couchbase 4.1.1
npm test
is currently hitting unrelated issues, so not seeing that error there.
@jhopper28 I made tests with a fresh instance of sails and npm install sails-cb
connecting couchbase and everything went well.
Having a second look to your original message, two things comes to my mind. The password
is the one you use to connect to couchbase administrator page. If you have Bucket Level security also, put it in bucketPassword
.
And second, What is the error that throws when trying to connect to sails-cbes?
"I'm able to use a different adapter (sails-cbes) to lift the app, but I get a failure when trying to connect to the bucket there"
Is possible that there is some issue with your couchbase instance. Have you try a fresh install? ... remember backup first.
The solution is easy.
The node version is the problem, i get the same issue when i trying with node 4, but when i use node 6 it works.
Thanks @nor-bu, nice to hear that!
@jhopper28 I hope that updating the node version works for you too. If is so, let me know in order to update the readme file to include the node version dependency.
Thanks both,
T
Any idea what would cause this error upon
sails lift
?models.js:
connections.js:
I've verified that the server is available at the host:port. I'm able to use a different adapter (sails-cbes) to lift the app, but I get a failure when trying to connect to the bucket there, so I thought I'd try sails-cb, hoping for better results since it seems to be under more recent development. Also, I'm able to successfully run the app and connect to a MongoDB instance with that sails adapter, so it seems to be an issue specific to this adapter. Thanks!