简体   繁体   English

为什么 couchdb 和 fauxton 在 windows 10 中无法正常工作?

[英]why couchdb and fauxton don't work correctly in windows 10?

Current situation:现在的情况:

After installing couchdb on windows 10 using the apache-couchdb-2.3.1.msi installer and configure its operation as a simple node with the data使用 apache-couchdb-2.3.1.msi 安装程序在 windows 10 上安装 couchdb 并将其操作配置为具有数据的简单节点后

User: Admin (It's for testing only) Password: Pass (Too insecure? It's for testing only:) Port: 5984 Ip.用户:管理员(仅用于测试)密码:通过(太不安全?仅用于测试:)端口:5984 Ip。 127.0.0.1 127.0.0.1

The installation was verified: http://127.0.0.1:5984/_utils/#/verifyinstall安装验证: http://127.0.0.1:5984/_utils/#/verifyinstall

When creating a "test" database it is created correctly When creating a new document it is created correctly创建“测试”数据库时创建正确创建新文档时创建正确

Problem: When adding information to the created document and pressing the "Save Changes" button问题:向创建的文档添加信息并按下“保存更改”按钮时

Nothing happens, changes are not saved没有任何反应,更改未保存

Unmodified document:未修改的文档:

{"_id": "e940717f486026242e9b5d9cd80023d2", "_rev": "1-967a00dff5e02add41819138abb3284d"} {“_id”:“e940717f486026242e9b5d9cd80023d2”,“_rev”:“1-967a00dff5e02add41819138abb3284d”}

Document modified (Changes are not saved)已修改文档(未保存更改)

{"_id": "e940717f486026242e9b5d9cd80023d2", "_rev": "1-967a00dff5e02add41819138abb3284d" "data": "Hello World"} {“_id”:“e940717f486026242e9b5d9cd80023d2”,“_rev”:“1-967a00dff5e02add41819138abb3284d”“数据”:“Hello World”}

The button only works when the document has not undergone changes or when I delete the aggregated data "data" I have also tried adding the comma "," at the end of each line该按钮仅在文档未发生更改或删除聚合数据“数据”时才有效,我还尝试在每行末尾添加逗号“,”

{"_id": "e940717f486026242e9b5d9cd80023d2", "_rev": "1-967a00dff5e02add41819138abb3284d", "data": "Hello World",} {“_id”:“e940717f486026242e9b5d9cd80023d2”,“_rev”:“1-967a00dff5e02add41819138abb3284d”,“数据”:“Hello World”,}

The same without any results, I tried using firefox and chrome, I tried to disable plugins and addons in those browsers同样没有任何结果,我尝试使用 firefox 和 chrome,我尝试禁用这些浏览器中的插件和插件

It seems that your JSON is not correct.看来您的 JSON 不正确。

This is your sample where a, is missing before "data"这是您的样本,其中 a, 在“数据”之前丢失

{"_id": "e940717f486026242e9b5d9cd80023d2","_rev": "1-967a00dff5e02add41819138abb3284d" "data": "Hello World"}

It should be like this one应该是这样的

{"_id": "e940717f486026242e9b5d9cd80023d2",
 "_rev": "1-967a00dff5e02add41819138abb3284d",
 "data": "Hello World"
}

JSON syntax should be correct, otherwise it will not be saved JSON 语法要正确,否则无法保存

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM