PlasmoHQ / plasmo

🧩 The Browser Extension Framework
https://www.plasmo.com
MIT License
10.03k stars 346 forks source link

[BUG] Bundle error (in browser) when using ReactQueryDevtools #863

Open mcbergsma opened 7 months ago

mcbergsma commented 7 months ago

What happened?

Trying to load ReactQueryDevtools in my project but I get an error in the console that says Uncaught (in promise) Error: Cannot find module 'kRu2X'. It's related to RQDT since when I remove that component it goes away.

This is in a CSUI script in a project that uses Tailwindcss and DaisyUI. The script itself runs fine, I just can't get the RQDT UI to load. I see the div created on the page, in the plasmo-csui code block, but that's it. I've tried:

No luck, any ideas?

Version

Latest

What OS are you seeing the problem on?

Windows

What browsers are you seeing the problem on?

Microsoft Edge

Relevant log output

file.4905cf09.js:62  
Uncaught (in promise) Error: Cannot find module 'kRu2X'
    at newRequire (file.4905cf09.js:62:19)
    at Function.newRequire (file.4905cf09.js:46:18)
    at runtime-43d8d3f6622fcdba.js:1:254

(OPTIONAL) Contribution

Code of Conduct