Uncaught Error: Cannot find module '@plasmohq/storage' (works in prod not dev)
I can't use plasmo storage with a prod build but it works on dev. I'm super confused.
6 Replies
@Expert can anyone help with this, seems pretty bad...
Hello @hb
Did you mean local storage or chrome storage?
chrome sync storage, i got it fixed tho: https://github.com/PlasmoHQ/plasmo/issues/1123
GitHub
[BUG] Uncaught Error: Cannot find module '@plasmohq/storage' · Issu...
What happened? I'm using google chrome. The load unpacked extension works when built with plasmo dev, however if I use plasmo build the extension does not do anything and checking the extension...
I had this in my package.json which broke everything:
oh, that's right.
I think so too.
do you know why it might have happened?