gary_29
gary_29
PD🧩 Plasmo Developers
Created by gary_29 on 8/17/2023 in #🔰newbie
`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.
EROFS: read-only filesystem, open '/node_modules/@plasmohq/parcel-config/run.json'
🟡 13 | Error: EROFS: read-only filesystem, open '/node_modules/@plasmohq/parcel-config/run.json'
at makeError$1 (/Users/<user>/code/automation/.pnp.cjs:28889:24)
at EROFS (/Users/<user>/code/automation/.pnp.cjs:28916:10)
at ZipFS.prepareWriteFile (/Users/<user>/code/automation/.pnp.cjs:30751:13)
at ZipFS.writeFilePromise (/Users/<user>/code/automation/.pnp.cjs:30722:55)
at /Users/<user>/code/automation/.pnp.cjs:31843:26
at /Users/<user>/code/automation/.pnp.cjs:32067:81
at ZipOpenFS.getZipPromise (/Users/<user>/code/automation/.pnp.cjs:32174:22)
at ZipOpenFS.makeCallPromise (/Users/<user>/code/automation/.pnp.cjs:32067:23)
at ZipOpenFS.writeFilePromise (/Users/<user>/code/automation/.pnp.cjs:31840:23)
EROFS: read-only filesystem, open '/node_modules/@plasmohq/parcel-config/run.json'
🟡 13 | Error: EROFS: read-only filesystem, open '/node_modules/@plasmohq/parcel-config/run.json'
at makeError$1 (/Users/<user>/code/automation/.pnp.cjs:28889:24)
at EROFS (/Users/<user>/code/automation/.pnp.cjs:28916:10)
at ZipFS.prepareWriteFile (/Users/<user>/code/automation/.pnp.cjs:30751:13)
at ZipFS.writeFilePromise (/Users/<user>/code/automation/.pnp.cjs:30722:55)
at /Users/<user>/code/automation/.pnp.cjs:31843:26
at /Users/<user>/code/automation/.pnp.cjs:32067:81
at ZipOpenFS.getZipPromise (/Users/<user>/code/automation/.pnp.cjs:32174:22)
at ZipOpenFS.makeCallPromise (/Users/<user>/code/automation/.pnp.cjs:32067:23)
at ZipOpenFS.writeFilePromise (/Users/<user>/code/automation/.pnp.cjs:31840:23)
Does plasmo just not supports this? I can't find anything online about these error messages. Any ideas/info about pnp support with plasmo?
7 replies