Closed Pourya8366 closed 6 years ago
Hi @Pourya8366 have you tried to run the couchbase code separately without framework? Does the cluster even connect to the server?
Hi @Pourya8366, what is the output from console?
Problem solved! i just have to add the couchbase port which is 8091 in default to the cluster argument for finding it!
var cluster = new couchbase.Cluster("couchbase://localhost:8091/");
and when i check in more, i find out the insert execute after many seconds and the output will be success1
because it takes long for couch to find the cluster without port explicitly written!
I download the empty project and add the couchbase node.js sdk, then i want to add some data in a bucket in a route, but when i call that route, response would be request timeout!
this is the default controller, my question is how i can use couchbase properly in totaljs?