21 Replies
can you explain what do you mean had to create new tab ?
I just mean after I reloaded the extension, I had to use a new tab. All existing tabs wouldn't work.
Okay. Do i have to create the content folder and then create the file inside it? Or the content.txt is fine ?
I have
contents/content.tsx
let me try that. new tab is't working for me
It seems that it needs the
.tsx
extension. https://discord.com/channels/946290204443025438/1187812316025204736/1187812316025204736still no luck
Can you share the files you have?
would that work? or I should share all the files in zip folder ?
change
const res = await sendToContentScript({ name: "getContent" })
to const res = await sendToContentScript({ name: "content" })
@Brandon has reached level 2. GG!
in
popup.tsx
still no luck
same error
I copied and pasted yours and it's working for me* with my suggested change
Someone suggested closing the browser and restarting it
Hmmm. strange tried that as well
@Adeel Ehsan has reached level 2. GG!
Do you have other tabs open?
can you please share package.json?
I didn't make any changes to my
package.json
yeah I have a whole bunch of tabs open, but every time I reload the extension, I open a new tabI have closed all the tabs and restart the browser and then opened only single tab only
are you using npm or pnpm ?
I am using npm
can you please share the zip folder of your project ? if possible
I'm using pnpm
pnpm dev
@Adeel Ehsan Not sure if you figured it out, but I just ran into it again. I deleted the build folder and built it again. Then it worked. Something else to try