Chrome Angular Unchecked runtime.lastError: The message port closed before a response was received Chrome Angular Unchecked runtime.lastError: The message port closed before a response was received google-chrome google-chrome

Chrome Angular Unchecked runtime.lastError: The message port closed before a response was received


I've experienced the same problem and noticed that it depends on running extensions.

Try disabling them (or you can use incognito mode if your settings do not allow extensions) to check if this is the cause. If so, you can enable them one by one and identify the guilty one.

In my case it was the Pinterest extension that causes the issue.


Click on the gear icon in the console window and put a tick in the "Selected context only" box.

Selected context only ignores all of the nested browser extension contexts.


for me, It was the "Stayfocusd" extension that causes the problem. By removing it, solves my problem.