An issue I had with installing dependencies complaining about Yarn Plug’n’Play even though I’m not using Yarn.
[ERROR] Could not resolve "rfdc"
quartz/util/path.ts:3:17:
3 │ import rfdc from "rfdc"
╵ ~~~~~~
The Yarn Plug'n'Play manifest forbids importing "rfdc" here because it's not listed as a
dependency of this package:
../../../.pnp.cjs:37:31:
37 │ "packageDependencies": [\
╵ ~~
You can mark the path "rfdc" as external to exclude it from the bundle, which will remove this
error and leave the unresolved path in the bundle.
The issue was resolved using this GitHub comment pointing out that there might be lingering files from Yarn if it was ever installed.