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?
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.
Finally, let me express my feelings towards Xunlei: