Couchdb`Error:EXIT`使用coffeescript函数时出错
每当调用任何设计文档函数时,我都会遇到这样的错误Couchdb`Error:EXIT`使用coffeescript函数时出错,coffeescript,couchdb,Coffeescript,Couchdb,每当调用任何设计文档函数时,我都会遇到这样的错误 Error: EXIT {{badmatch,[]}, [{couch_query_servers,new_process,3, [{file,"/tmp/build-couchdb/dependencies/couchdb/src/couchdb/couch_query_servers.erl"}, {lin
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}]}]}
就我而言,这是因为我在我的
\u设计/文档
中拼错了语言
属性
{
"_id": "_design/myapp",
"_rev": "20-cafeb7b6886a37e8c629978f934eea86",
"language": "cofeescript", // <- Notice misspelled tag
"lists": {
},
"shows": {
},
"validate": "...",
"validate_doc_update": "...",
"views": { },
"couchapp": { ... }
}
{
“_id”:“_design/myapp”,
“修订版”:“20-cafeb7b6886a37e8c629978f934eea86”,
“语言”:“cofeescript”,//在我的例子中,这是因为我在我的\u设计/文档
中拼错了语言
属性
{
"_id": "_design/myapp",
"_rev": "20-cafeb7b6886a37e8c629978f934eea86",
"language": "cofeescript", // <- Notice misspelled tag
"lists": {
},
"shows": {
},
"validate": "...",
"validate_doc_update": "...",
"views": { },
"couchapp": { ... }
}
{
“_id”:“_design/myapp”,
“修订版”:“20-cafeb7b6886a37e8c629978f934eea86”,
“语言”:“cofeescript”//