`plasmo dev` doesn't work in yarn pnp monorepo
I initialized a basic plasmo extension in the packages folder of our monorepo.
we are using yarn plug'n'play so I tried running
pnpify plasmo dev
in the script.
But I get this error ERROR | EROFS: read-only filesystem, open '/node_modules/@plasmohq/parcel-config/run.json'
I tried running it with verbose and get this.
Does plasmo just not supports this? I can't find anything online about these error messages. Any ideas/info about pnp support with plasmo?5 Replies
It looks like parcel is unintentially trying to write the virtual fs yarn creates?
I encounter the same issue. I told yarn to unplug
@plasmohq/parcel-config
but then I'm stuck with another error:
![No description](https://cdn.answeroverflow.com/1143484420448321586/Capture_decran_2023-08-22_a_11.58.29.png)
I've found a workaround:
in your root
package.json
, add:
Then, in your .yarnrc.yml
:
`
It works like a charm for me. I'm using plasmo v0.82.1Nice good find!
@gary_29 has reached level 1. GG!