1

每当调用任何设计文档函数时,我都会收到类似的错误

    Error: EXIT

    {{badmatch,[]},
     [{couch_query_servers,new_process,3,
                           [{file,"/tmp/build-couchdb/dependencies/couchdb/src/couchdb/couch_query_servers.erl"},
                            {line,472}]},
      {couch_query_servers,lang_proc,3,
                           [{file,"/tmp/build-couchdb/dependencies/couchdb/src/couchdb/couch_query_servers.erl"},
                            {line,462}]},
      {couch_query_servers,handle_call,3,
                           [{file,"/tmp/build-couchdb/dependencies/couchdb/src/couchdb/couch_query_servers.erl"},
                            {line,322}]},
      {gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,588}]},
      {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}
4

1 回答 1

1

就我而言,这是因为language我的_design/document.

{
   "_id": "_design/myapp",
   "_rev": "20-cafeb7b6886a37e8c629978f934eea86",
   "language": "cofeescript", // <- Notice misspelled tag
   "lists": {
   },
   "shows": {
   },
   "validate": "...",
   "validate_doc_update": "...",
   "views": {   },
   "couchapp": { ... }
}
于 2013-05-20T17:23:25.067 回答