如果我使用 Firefox,我无法将项目从 github 存储库导入到 stackblitz
我在尝试导入 github 项目时登录了 statckbliz
将地址更改为
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
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论