The message port closed before a response was received.

问题描述:Chrome控制台报错:Unchecked runtime.lastError: The message port closed before a response was received.

问题分析:非检查型的运行错误:响应前信息端口关闭。

问题原因:浏览器的扩展程序使得端口意外关闭

解决方案:逐个关闭扩展程序,排查导致问题的扩展程序。

点击Chrome的右上角三个点--点击更多工具--点击扩展程序--关闭xx扩展程序(例如我的Chrome,关闭了迅雷下载支持即解决)

The message port closed before a response was received._第1张图片

 

转载于:https://www.cnblogs.com/caoxueying2018/p/10429641.html

你可能感兴趣的:(The message port closed before a response was received.)