New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CouchDB connection refused #40
Comments
After removing the node packaged and installing node using homebrew, I get another error in new hoodie apps:
The couch.stderr log contains the same execvp errors. |
Do you have CouchDB installed? :) |
Yes, I ran ‘brew install couchdb’, got a couchdb executable in my ~/Code/homebrew/bin folder which is in my PATH, and when I just run ‘couchdb’ without hoodie it shows |
Excellent, Hoodie currently uses /usr/local/bin hardcoded. I'll get a fix up asap, in the meantime you could symlink :)On 10.04.2013, at 06:52, Sander Dijkhuis notifications@github.com wrote:
|
Just symlinking couchdb to /usr/local/bin creates some new errors, probably suggesting that I should symlink more:
|
Sorry for the red herring with the symlink. I pushed hoodiehq-archive/node-multicouch@5eae3a6 that should™ fix this issue. Can you confirm? |
To try it out:
|
Thanks, still no luck though… couch.stderr contains a lot of
and couch.stdout a lot of
|
I’m having some trouble reproducing this here, but I’ll keep trying! |
Some more info: running /Users/sander/Code/homebrew/bin/couchdb directly works. It seems to be 1.2.1 though, and ‘brew upgrade’ doesn’t seem to be so interested in 1.3.0 yet. Does Hoodie maybe expect something from 1.3 during boot already? |
1.2.1 should work just fine. |
Just a closing note: so the original issue was solved in node-multicouch, and the new issue seems to be identical to #39. |
When starting the hoodie app just created using ‘hoodie new’, all HTTP requests to api.appname.dev return:
An error has occurred: {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect"}
After entering an admin password passoword, hoodie crashes because the connection was refused with an invalid JSON response (starting with A).
Below is hoodie’s log.
The couch.stderr file contains a couple of lines like this:
execvp(): No such file or directory
I built CouchDB using homebrew, but installed Node.js using the Mac installer. Could that be the reason it fails (e.g. CouchDB not being able to find node)?
The text was updated successfully, but these errors were encountered: