如果我使用 Firefox,我无法将项目从 github 存储库导入到 stackblitz

发布于 2025-01-09 19:12:15 字数 2470 浏览 0 评论 0原文

我在尝试导入 github 项目时登录了 statckbliz

proyect github

将地址更改为

addres stackblits https://stackblitz.com/github/nestdanchia/spinner

它没有向我显示任何内容,控制台显示下一条消息

Uncaught (in promise) 
Object { _e: Error, name: "OpenFailedError", message: "InvalidStateError A mutation operation was attempted on a database that did not allow mutations.\n InvalidStateError: A mutation operation was attempted on a database that did not allow mutations.", inner: {…}, stack: "" }
​
_e: Error: 
​
inner: Object { _e: Error, name: "InvalidStateError", message: "A mutation operation was attempted on a database that did not allow mutations.\n InvalidStateError: A mutation operation was attempted on a database that did not allow mutations.", … }
​​
_e: Error: 
​​
inner: DOMException: A mutation operation was attempted on a database that did not allow mutations.
​​
message: "A mutation operation was attempted on a database that did not allow mutations.\n InvalidStateError: A mutation operation was attempted on a database that did not allow mutations."
​​
name: "InvalidStateError"
​​
stack: 
​​
<get stack()>: function get()​​
<prototype>: Object { stack: "", … }
​
message: "InvalidStateError A mutation operation was attempted on a database that did not allow mutations.\n InvalidStateError: A mutation operation was attempted on a database that did not allow mutations."
​
name: "OpenFailedError"
​
stack: ""
​
<prototype>: Object { stack: "", … }

我该如何修复它我使用 Windows 11 firefox 浏览器我寻找解决方案但找不到它 ...................... 在沙盒中,如果我可以导入它。但执行时它给了我一个错误 它与进口有关。在 Visual Studio Code 中执行代码 没有问题

import localeEsAr from '@angular/common/locales/es-AR';
Could not find module in path: '@angular/common/locales/es-AR' relative to '/src/app/app.module.ts'

从 stackblitz 上的 Microsoft Edge 可以完美运行: 运行

I log into statckbliz when trying to import the github project

proyect github

changing the address to

addres stackblits
https://stackblitz.com/github/nestdanchia/spinner

it doesn't show me anything and the console shows The next message

Uncaught (in promise) 
Object { _e: Error, name: "OpenFailedError", message: "InvalidStateError A mutation operation was attempted on a database that did not allow mutations.\n InvalidStateError: A mutation operation was attempted on a database that did not allow mutations.", inner: {…}, stack: "" }
​
_e: Error: 
​
inner: Object { _e: Error, name: "InvalidStateError", message: "A mutation operation was attempted on a database that did not allow mutations.\n InvalidStateError: A mutation operation was attempted on a database that did not allow mutations.", … }
​​
_e: Error: 
​​
inner: DOMException: A mutation operation was attempted on a database that did not allow mutations.
​​
message: "A mutation operation was attempted on a database that did not allow mutations.\n InvalidStateError: A mutation operation was attempted on a database that did not allow mutations."
​​
name: "InvalidStateError"
​​
stack: 
​​
<get stack()>: function get()​​
<prototype>: Object { stack: "", … }
​
message: "InvalidStateError A mutation operation was attempted on a database that did not allow mutations.\n InvalidStateError: A mutation operation was attempted on a database that did not allow mutations."
​
name: "OpenFailedError"
​
stack: ""
​
<prototype>: Object { stack: "", … }

How can I fix it I use windows 11 firefox browser I looked for a solution but I can't find it
.......................
In Sandbox if I can import it. but it gives me an error when executing
it, related to an import. In visual studio code the code is executed
without problems

import localeEsAr from '@angular/common/locales/es-AR';
Could not find module in path: '@angular/common/locales/es-AR' relative to '/src/app/app.module.ts'

From Microsoft Edge on stackblitz it runs perfectly:
runs

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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