Use pnpm's default strict linking model.
Section: Node Linkers and Installation Modes
Use isolated linker
bash
bash
pnpm config set node-linker isolatedExplanation
Use pnpm's default strict linking model.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Node Linkers and Installation Modes
Use hoisted node_modules linker
Switch to a hoisted node_modules layout if needed for compatibility.
Enable shamefully-hoist
Hoist dependencies more aggressively for legacy tooling compatibility.