gpt4 book ai didi

angular - FIRESTORE (4.10.1) 内部断言失败 : AsyncQueue is already failed: The requested version (1) is less than the existing version (2)

转载 作者:太空狗 更新时间:2023-10-29 17:23:28 24 4
gpt4 key购买 nike

我很抱歉含糊不清,但我真的不知道该说些什么,除了我收到这个错误!我不知道为什么,只是我认为它与兼容性版本有关。一切都在一台机器上工作。我将它克隆到另一个,现在出现此错误。

我正在使用 angularfire2 运行 Angular 5。

请让我知道哪些日志等会有所帮助。

谢谢,韦恩

我也在使用 ngx-pwa-localStorage,所以它可能与以下内容有关: Chrome console error: The requested version (1) is less than the existing version (2)

下面是我的 package.json

{
"name": "scriptertainment",
"version": "0.4.0",
"license": "MIT",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular-devkit/core": "^0.4.6",
"@angular-devkit/schematics": "0.0.52",
"@angular/animations": "^5.0.0",
"@angular/common": "^5.0.0",
"@angular/compiler": "^5.0.0",
"@angular/core": "^5.2.10",
"@angular/forms": "^5.0.0",
"@angular/http": "^5.0.0",
"@angular/platform-browser": "^5.0.0",
"@angular/platform-browser-dynamic": "^5.0.0",
"@angular/router": "^5.0.0",
"@angular/service-worker": "^5.2.10",
"@ng-bootstrap/ng-bootstrap": "^1.1.0",
"@ngx-pwa/local-storage": "^5.2.0",
"angularfire2": "5.0.0-rc.6",
"bootstrap": "4.0.0-beta.2",
"core-js": "^2.4.1",
"firebase": "^4.12.0",
"ionicons": "^3.0.0",
"ngx-filter-pipe": "2.1.0",
"ngx-swiper-wrapper": "^5.3.8",
"open-iconic": "^1.1.1",
"pdfjs-dist": "^2.0.489",
"rxjs": "^5.5.2",
"swiper": "^4.2.0",
"zone.js": "^0.8.14"
},
"devDependencies": {
"@angular/cli": "^1.7.2",
"@angular/compiler-cli": "^5.0.0",
"@angular/language-service": "^5.0.0",
"@types/jasmine": "~2.5.53",
"@types/jasminewd2": "~2.0.2",
"@types/node": "~6.0.60",
"codelyzer": "~3.2.0",
"jasmine-core": "~2.6.2",
"jasmine-spec-reporter": "~4.1.0",
"karma": "~1.7.0",
"karma-chrome-launcher": "~2.1.1",
"karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "^1.2.1",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.1.2",
"ts-node": "~3.2.0",
"tslint": "~5.7.0",
"typescript": "~2.4.2"
}
}

最佳答案

感谢https://stackoverflow.com/users/819775/igor寻求帮助。

答案是手动删除 firestore IndexDB 条目。在 Chrome 中,进入 Dev Console,转到 application 选项卡。找到左侧的 IndexDB 并展开。对于列表中的每个 firebase 数据库,选择数据库并使用“删除数据库”按钮。

这对我来说没问题,因为我的应用程序尚未投入生产,但我不得不想象,对于实时网站,您需要在页面加载和刷新页面或放入放置一个处理数据库清理的临时站点重定向。

由于更新似乎会占用 FB 数据库,我不确定您将如何回收该数据。如果数据很重要,希望您的应用可以将数据保留在其他地方。

关于angular - FIRESTORE (4.10.1) 内部断言失败 : AsyncQueue is already failed: The requested version (1) is less than the existing version (2),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49984198/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com