无法执行交易'在' idbdatabase'仅在某些领域
我已经开发了一个构造3游戏,该游戏具有奇怪的行为。
在某些主机上,它可以完美地工作,并且可以创建和不存在问题的对象设置,但是在当前主机上我会遇到错误:
Failed to execute 'transaction' on 'IDBDatabase': One of the specified object stores was not found.
奇怪的是,这仅发生在当前域上。如果我使用另一个域,我没有这样的问题。
我还尝试实现onupgradeneed
功能,但什么也不会发生。每当我尝试访问对象存储时,我都会得到上面陈述的错误。
从这个错误中出发(但结果)我也得到了
DOMException: Failed to execute 'transaction' on 'IDBDatabase': One of the specified object stores was not found.
我真的用光了解决方案,如果你们中的任何一个以前遇到过这个问题,我就会成为curios。
I have developed a Construct 3 game which has a strange behaviour.
On some hosts it works perfectly and it creates and inexedDB and objectStorage without a problem, but on the current host I get the error:
Failed to execute 'transaction' on 'IDBDatabase': One of the specified object stores was not found.
The strange thing is that this only happens on the current domain. If I use another domain I own there is no such problem.
I also tried implementing the onupgradeneeded
function but nothing happens. Whenever I try to access the objectStorage I get the error stated above.
Aprart from that error (but as a consequence) I also get
DOMException: Failed to execute 'transaction' on 'IDBDatabase': One of the specified object stores was not found.
I really ran out of solutions and I am curios if any of you guys have has encountered this problem before.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论