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

Sofa only works until the first post is created. #19

Open
tacshooter opened this issue Jan 18, 2013 · 5 comments
Open

Sofa only works until the first post is created. #19

tacshooter opened this issue Jan 18, 2013 · 5 comments

Comments

@tacshooter
Copy link

Everything worked until I created the first post. As soon as I did that, all I get is:

{"error":"compilation_error","reason":"Expression does not eval to a function. ((new String("undefined")))"}

I'm using couchapp 0.8.1 and couchdb 1.0.1 and I got sofa by running couchapp clone. Do you have any idea what's happening, or whether this is an issue with CouchDB, Sofa, Couchapp or even with my configuration...?

Thanks for any help you can provide...
--Ferg

@dysbulic
Copy link

dysbulic commented Mar 1, 2014

I get the same issue.

@adamapps
Copy link

Same here, and can't figure out why :(

@manhai
Copy link

manhai commented Oct 17, 2015

Hi, I got the same:
{"error":"compilation_error","reason":"Expression does not eval to a function. ((new String("undefined")))"}
respective
An error occurred accessing the view: Expression does not eval to a function. ((new String("undefined")))

with "couchdb",version":"1.0.1"
Any hint available?

@bitmonki
Copy link

Hi, Sofa in jchris' repo has suffered bitrot over the years and is badly broken, but I fixed it and submitted a pull request about a month ago.

Even so, you will need CouchDB v1.1.0 or greater to run it, since he used a feature that was added in that release.

You can find my working version here https://github.com/bitmonki/sofa

Please be sure to read the errata document in branch bitrot-fixed.

Relax! ;)

On October 17, 2015 2:04:56 AM HST, manhai [email protected] wrote:

Hi, I got the same:
{"error":"compilation_error","reason":"Expression does not eval to a
function. ((new String("undefined")))"}
respective
An error occurred accessing the view: Expression does not eval to a
function. ((new String("undefined")))

with "couchdb",version":"1.0.1"
Any hint available?


Reply to this email directly or view it on GitHub:
#19 (comment)

Sent from my Android phone with K-9 Mail. Please excuse my brevity.

@manhai
Copy link

manhai commented Oct 19, 2015

Well, that helped a lot, many thanks. Now it works a fine as far as I understand. As you say, a bitrot,
what are for a newbies the most current chouchapps to look at?

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

5 participants