使用setup-couchdb-1.4.0_R16B01.exe在Windows 7 x64上全新安装了Apache CouchDB
可以毫无问题地进入蒲团
可以以编程方式创建数据库并添加文档(包括视图)
执行视图时获取下面粘贴的错误(即使在Futon中执行最简单的默认非编辑临时map-reduce时也是如此)
"map": "function(doc){ emit(null, doc); }"
(在这种情况下,在浏览器弹出窗口中显示相同的错误文本)
这个错误对任何人都有意义吗?我应该在哪里开始调查?
笔记:
错误信息:
{"error":"EXIT",
"reason":"{{badmatch,\n
{error,\n
{enoent,\n
[{erlang,open_port,\n
[{spawn,\n
\"c:/Program Files (x86)/Apache Software Foundation/CouchDB/lib/couch-1.4.0/priv/couchspawnkillable ./couchjs.exe ../share/couchdb/server/main.js\"},\n
[stream,{line,4096},binary,exit_status,hide]],\n
[]},\n
{couch_os_process,init,1,\n
[{file,\n
\"c:/cygwin/relax/APACHE~1.0/src/couchdb/couch_os_process.erl\"},\n
{line,148}]},\n
{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,304}]},\n
{proc_lib,init_p_do_apply,3,\n
[{file,\"proc_lib.erl\"},{line,239}]}]}}},\n
[{couch_query_servers,new_process,3,\n
[{file,\"c:/cygwin/relax/APACHE~1.0/src/couchdb/couch_query_servers.erl\"},\n
{line,477}]},\n
{couch_query_servers,lang_proc,3,\n
[{file,\"c:/cygwin/relax/APACHE~1.0/src/couchdb/couch_query_servers.erl\"},\n
{line,462}]},\n
{couch_query_servers,handle_call,3,\n
[{file,\"c:/cygwin/relax/APACHE~1.0/src/couchdb/couch_query_servers.erl\"},\n
{line,334}]},\n {gen_server,handle_msg,5,[{file,\"gen_server.erl\"},{line,585}]},\n
{proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,239}]}]}"}
Run Code Online (Sandbox Code Playgroud)