IndexedDB (已关闭) Postman 无法正常打开

j9per5c4  于 2022-12-09  发布在  IndexedDB
关注(0)|答案(8)|浏览(346)

我试图打开我的新安装的 Postman 时,发生了这样的错误:

**Could not open Postman**
Error: Migration: IndexedDB schema migration failed. IndexedDb was not upgraded succesfully after `dexie.open`.
Please try restarting the app. If the issue persists, please refer to http://go.pstmn.io/troubleshoot-could-not-open

正如它所说,错误确实存在。上面的网站只提供了“重新安装应用程序”“升级应用程序”等建议,这些建议并没有真正的帮助。当我深入互联网时,我突然想到这样的错误几乎不会发生(发现没有人像我一样有同样的问题)。
错误信息中提到了“IndexedDb”,而我(从网上)才知道这是explorer提供的nosql数据库,也许重新安装数据库就可以解决问题了,我猜?

2ledvvac

2ledvvac1#

我遇到了类似的问题,并找到了以下描述:https://github.com/postmanlabs/postman-app-support/issues/4897
简短的回答是,删除~/.config/Postman(对于Linux)中的Postman configs目录,然后尝试再次运行。这将删除您保存的所有Postman数据,但对于新安装的示例来说,这不是问题。

wecizke3

wecizke32#

你能试着从下面两个位置删除“Postman”文件夹或将其重命名为“Postman.old”,然后从这里重新安装最新版本,看看是否有帮助?
C:\Users\<user>\AppData\LocalC:\Users\<user>\AppData\Roaming
我试了一下,因为我也面临同样的问题,它为我解决了。

pobjuy32

pobjuy323#

用这个:它对我有用。

pkill -fi Postman
xxe27gdn

xxe27gdn4#

对于Windows 10 -在我的情况下,我必须:

  • 打开 * 任务管理器 * 并关闭/结束 Postman 应用程序。
  • 转到%appdata%并搜索“Postman”文件夹。
  • 在“Postman”文件夹中,选择“Postman_Config”文件夹1。将其删除。
  • 请尝试再次打开您的Postman示例。

1“Postman_Config”文件夹包含(* 在我的情况下 *)另一个名为“0”的文件夹,在该文件夹中,有一个“userconfigs.json”文件-该文件仅包含以下字符:

{}

如果您有其他信息,请复制这些文件,以便在需要时进行备份。

p8h8hvxi

p8h8hvxi5#

转到Postman的安装文件夹:

C:\Users\Davoud\AppData\Local\Postman

我删除了旧版本的文件夹。它解决了我的问题。实际上我也删除了update.exe

tcbh2hod

tcbh2hod6#

对于Windows -从任务管理器中杀死写着postman的进程再次运行安装程序,它为我解决了这个问题。

9udxz4iz

9udxz4iz7#

在macOS的Postman菜单或Windows或Linux的帮助菜单中禁用硬件加速

7tofc5zh

7tofc5zh8#

当我在VPN上(在Windows上)安装Postman时,我遇到了类似的问题。它启动了,但随后出现了一个弹出错误,说“TypeError:无法读取属性'id'的undefined”,和一个空白的白色屏幕之后。所以我卸载它,删除任何 Postman 文件夹,关闭VPN,并重新安装它没有问题!安装成功后,我能够打开我的VPN,并没有进一步的问题。
作为参考,我在C:\Users\<user>\AppData\Roaming\Postman\logs\renderer-requester.log文件中有这些错误

[20076][1645655031650][requester][info]["Migrations: Committing IndexedDB upgrade"]
[20076][1645655031665][requester][error]["Could not complete migration.",{"name":"Error","message":"Migration: IndexedDB schema migration failed. IndexedDb was not upgraded successfully after `dexie.open`.","stack":"Error: Migration: IndexedDB schema migration failed. IndexedDb was not upgraded successfully after `dexie.open`.\n    at file:///C:/Users/<user>/AppData/Local/Postman/app-9.13.0/resources/app.asar/js/scratchpad/scratchpad.js:477:1448541\n    at file:///C:/Users/<user>/AppData/Local/Postman/app-9.13.0/resources/app.asar/js/scratchpad/scratchpad.js:2:3000934\n    at Ve (file:///C:/Users/<user>/AppData/Local/Postman/app-9.13.0/resources/app.asar/js/scratchpad/scratchpad.js:2:2996146)\n    at ze (file:///C:/Users/<user>/AppData/Local/Postman/app-9.13.0/resources/app.asar/js/scratchpad/scratchpad.js:2:2996903)\n    at IDBOpenDBRequest.<anonymous> (file:///C:/Users/<user>/AppData/Local/Postman/app-9.13.0/resources/app.asar/js/scratchpad/scratchpad.js:2:2997272)"},{"0000_initial":"started","0001_add_archived_resources_table":"started","0002_add_variable_sessions_table":"started","0003_add_editor_tables":"started"}]
[20076][1645655031673][requester][error]["Migration: Could not complete migration.",{"name":"Error","message":"Migration: IndexedDB schema migration failed. IndexedDb was not upgraded successfully after `dexie.open`.","stack":"Error: Migration: IndexedDB schema migration failed. IndexedDb was not upgraded successfully after `dexie.open`.\n    at file:///C:/Users/<user>/AppData/Local/Postman/app-9.13.0/resources/app.asar/js/scratchpad/scratchpad.js:477:1448541\n    at file:///C:/Users/<user>/AppData/Local/Postman/app-9.13.0/resources/app.asar/js/scratchpad/scratchpad.js:2:3000934\n    at Ve (file:///C:/Users/<user>/AppData/Local/Postman/app-9.13.0/resources/app.asar/js/scratchpad/scratchpad.js:2:2996146)\n    at ze (file:///C:/Users/<user>/AppData/Local/Postman/app-9.13.0/resources/app.asar/js/scratchpad/scratchpad.js:2:2996903)\n    at IDBOpenDBRequest.<anonymous> (file:///C:/Users/<user>/AppData/Local/Postman/app-9.13.0/resources/app.asar/js/scratchpad/scratchpad.js:2:2997272)"},{"0000_initial":"started","0001_add_archived_resources_table":"started","0002_add_variable_sessions_table":"started","0003_add_editor_tables":"started"}]
[20076][1645655031676][requester][info]["booted - requester"]
[20076][1645655031686][requester][error]["Could not complete migration.",{"name":"TypeError","message":"Cannot read property 'id' of undefined","stack":"TypeError: Cannot read property 'id' of undefined\n    at t.default (file:///C:/Users/<user>/AppData/Local/Postman/app-9.13.0/resources/app.asar/js/scratchpad/scratchpad.js:477:1193039)\n    at 
......

相关问题