On Wed, Aug 5, 2009 at 12:36 PM, Michael McCaffrey<[email protected]> wrote: > New to couchDB. > > > > Got a small java app reading and writing documents to the db using > couchdb4j. > > > > However, I can't get views to work. Get this error when I try to run a > view. Get the error both in java and on futon. > > > > View is simple to return all docs > > > > function(doc) {emit(null,doc);} > > > > > > Error: badmatch > > > > {{einval,[{erlang,open_port, > > [{spawn,"couch_js > ../lib/couchdb/share/server/main.js"}, > > [stream,{line,1024},binary,exit_status,hide]]}, > > {couch_os_process,init,1}, > > {gen_server,init_it,6}, > > {proc_lib,init_p_do_apply,3}]}, > > {gen_server,call,[couch_query_servers,{get_proc,<<"javascript">>}]}} > > > > Running on windows/Firefox. >
The Windows process model is a bit different from posix, so that's probably why spawning the JavaScript process is failing. There is a windows installer in the works. Maybe someone who knows more about it can comment. Chris > > > > > Any help? > > > > Thanks > > > > -- Chris Anderson http://jchrisa.net http://couch.io
