When developing Vue, I encountered a browser report: unchecked runtime.lastError: The message port closed before a response was received.

When developing the Vue project this afternoon, the program ran normally, but the browser kept reporting: unchecked runtime.lastError: The message port closed before a response was received. error. It’s so confusing to me!
After repeatedly debugging the code and undoing modifications, this error still occurred, and I began to realize that this might not be my problem.
I searched Baidu to see if any seniors have encountered the same problem. I found out after looking it up, good guy! It’s caused by the Thunder plug-in on Google Chrome!
I always thought it was a bug in my own program, but it turned out to be an external factor. Who would have thought?
Insert image description here

Solution:

Open your browser's "More Tools" and find "Extensions." Or directly enter the browser address: chrome://extensions/
and then disable or remove Thunder-related extensions.
Example
Finally, let me express my feelings towards Xunlei:
climb!

Guess you like

Origin blog.csdn.net/qq_42988836/article/details/130624454