-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not establish connection. Receiving end does not exist. #2
Comments
Has anyone been able to resolve this? |
Tutorial and repo don't work @faraazahmad |
@ZeroPie I'd reached out to @bajcmartinez on Twitter and he was looking into the issue |
@faraazahmad Maybe give this a chance, it has also hot reloading for the extension out of the box. |
Hi all, sorry for the late response, I have been having some trouble reproducing the error, and I got also messages from other people that all works as expected. Could you please share some additional information, like browser and OS? I've tried on both Linux and MacOS, using the latest version of Google Chrome without issues. Thanks |
The extension works fine for me on fresh pages - any tabs that were already open throw the error, but if the tabs are refreshed or new tabs are opened then it works fine. Based on this thread I believe the issue here is just that the content script (DOMEvaluator.ts) isn't available on a stale tab, so the background process can't communicate with the content script. |
@bajcmartinez this is a great little tutorial, but could definitely use a couple of updates for clarity! I am brand new to TS and didn't know I needed a types folder with .ts files in it, and I needed to downgrade |
Same issue wit me, MacOS, latest chrome |
I (Windows 10, Microsoft Edge) was able to fix this error doing the following:
|
Two messages in inspector it looks like poor permissions in manifest
Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.
index.html:1 Error handling response: TypeError: Cannot read properties of undefined (reading 'title') at chrome-extension://ifcfhbddddobmpgimkjjehbbdcbbefnk/static/js/main.js:1:2809
The text was updated successfully, but these errors were encountered: