yarn config set nodeLinker node-modules

Category: Node.js & npm/yarn

yarn config set nodeLinker node-modules

Switch yarn to node_modules linking

Tells yarn Berry to install into a plain node_modules folder instead of its default Plug'n'Play zip layout. Tools that do not understand PnP often require this. The alternative value is pnp, and the PnP variant is the default.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.