2013-05-20 50 views
1

我收到提示,看起來像,每當任何設計文件函數被調用CouchDB的`錯誤:使用CoffeeScript的功能

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}]}]} 

回答

1

在我的情況下,當EXIT`錯誤是因爲我有拼寫錯誤language財產我的_design/document

{ 
    "_id": "_design/myapp", 
    "_rev": "20-cafeb7b6886a37e8c629978f934eea86", 
    "language": "cofeescript", // <- Notice misspelled tag 
    "lists": { 
    }, 
    "shows": { 
    }, 
    "validate": "...", 
    "validate_doc_update": "...", 
    "views": { }, 
    "couchapp": { ... } 
}