How to Fix: Could not establish connection. Receiving end does not exist
If you are developing a Chrome extension with message passing, then you might have received the following error: Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.
How to build a Chrome Extension
What we’re building We are going to build a simple chrome extension that will allow you to search google for any text that you highlight on a page.