无法执行交易'在' idbdatabase'仅在某些领域

发布于 2025-02-13 01:26:39 字数 552 浏览 0 评论 0原文

我已经开发了一个构造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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文