Write common pnpm/npm-compatible configuration into .npmrc.
Section: Configuration Basics
Create project .npmrc
bash
bash
printf 'auto-install-peers=true\nstrict-peer-dependencies=false\n' >> .npmrcExplanation
Write common pnpm/npm-compatible configuration into .npmrc.
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 Configuration Basics