问题描述
我刚刚开始收到此错误:
I've just started to get this error:
未捕获(在承诺中)Objectmessage:消息端口在响应之前关闭了收到。
在chrome-extension://gppongmhjkpfnbhagpmjfkannfbllamg/js/browser-polyfill.js这一行:
at chrome-extension://gppongmhjkpfnbhagpmjfkannfbllamg/js/browser-polyfill.js at this line:
const makeCallback = promise => {
return (...callbackArgs) => {
if (chrome.runtime.lastError) {
promise.reject(chrome.runtime.lastError); // uncaught in promise
} else if (callbackArgs.length === 1) {
promise.resolve(callbackArgs[0]);
} else {
promise.resolve(callbackArgs);
}
};
};
你知道是什么原因引起的吗?
Do you know what can cause it?
谢谢
推荐答案
更新
截至的评论,问题已在版本中修复:4.0.1
该插件将自动更新,或者您可以从此处重新安装:
The plugin will auto-update or you could reinstall from here:
如果有人对此问题感兴趣,拉请求就在这里:
If anyone is interested in the issue the pull request is here:
2019编辑:
如果这不能解决您的问题。您可以尝试停用所有Chrome扩展程序并检查是否能解决您的问题。
If that is not solving your issue. You could try disabling all the chrome extensions and check if that solve your issue.
要禁用,您可以在chrome网址中输入以下代码:
To disable you could type the below code in chrome url:
或者可以继续
之后你可以启用每个扩展程序并检查罪魁祸首。
After that you could enable each extensions and check the culprit.
旧版问题:
这不是chrome的错误,而是wappalyzer扩展的错误。
我不确定你是否正在使用它但是我已经使用过了它只是更新并得到同样的问题。
I am not sure you are using it but i have used it and was just updated and got the same issue.
以下是问题的证据:
我们需要等到扩展的任何解决方案或使用旧的v延期直到它得到解决。
We need to wait until there is any solution for the extension or use the older version of the extension until it gets resolved.
这篇关于承诺错误消息端口在收到响应之前关闭的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!