Skip to content
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

cli parsing fails on newline #6

Open
jandrieu opened this issue Mar 10, 2015 · 2 comments
Open

cli parsing fails on newline #6

jandrieu opened this issue Mar 10, 2015 · 2 comments

Comments

@jandrieu
Copy link

typing ['reset'] into the CLI gets the following error:

["fatal","unknown_error","SyntaxError: Unexpected token '\n    at Object.parse (native)\n    at Loop (eval at <anonymous> (/node_modules/couchjs/cli.js:77:21), <anonymous>:1559:16)\n    at eval (eval at <anonymous> (node_modules/couchjs/cli.js:77:21), <anonymous>:1576:1)\n    at node_modules/couchjs/cli.js:80:24"]

I'm not sure if couch's main is expected to clean up the \n or if the CLI should... seems like the main.js api actually requires the \n, but it certainly isn't working.

@abdulbarik
Copy link

abdulbarik commented Aug 22, 2016

@jandrieu Did you resolved this issue? I am also getting the same things.
I am using it with node@0.8.28

@jandrieu
Copy link
Author

@abdulbarik Unfortunately, I don't recall. We did get couch working, but not sure how we got past this particular item.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants