Skip to content
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

chrome.runtime.onMessage.addListener seems not listening on the message we send. #3

Open
nggih opened this issue Dec 11, 2022 · 1 comment

Comments

@nggih
Copy link

nggih commented Dec 11, 2022

Hi, I am stuck at Injecting into the Calmly webpage. I have followed the https://buildspace.so/p/build-ai-writing-assistant-gpt3/lessons/inject-into-a-webpage and final repo, but the error below still occur and the result from API can't be injected on the Calmly. Any help would be appreciated. Thank you.

Chrome version: Version 108.0.5359.99 (Official Build) (64-bit)

image
Unchecked runtime.lastError: Cannot create item with duplicate id context-run Error handling response: TypeError: Cannot read properties of undefined (reading 'status') at chrome-extension://fmhgmgocffondhgalcpcllfaggcllhko/scripts/contextMenuServiceWorker.js:21:22 Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist. Error handling response: TypeError: Cannot read properties of undefined (reading 'id') at chrome-extension://fmhgmgocffondhgalcpcllfaggcllhko/scripts/contextMenuServiceWorker.js:15:31

@benthecoder
Copy link

faced the same thing, did you find a fix @nggih ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants