-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist. #67
Comments
I also have this problem. |
Can you try not importing asynchronously? It might have something to do with that @songpengyuan Can you also share your setup? |
I can't import webext-bridge without import another file asynchronously. |
@hoangvu12 Hello, have you resolved this issue? |
1 similar comment
@hoangvu12 Hello, have you resolved this issue? |
I ended up writing my own messaging bridge 😔 |
Hmm, I put a message in my background script as well, but it didn't solve the issue. Looks like I'm off to do #67 (comment). :) |
I'm trying to post message from web to content scripts, but for some reason it keeps showing error
Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.
Here is my content script (index.ts):
content.ts:
I have no idea why it causes that, it just happens whenever I call the
allowWindowMessaging
function.The text was updated successfully, but these errors were encountered: