Turn off lifecycle scripts globally or locally.
Section: Lifecycle patterns
Disable lifecycle scripts
bash
bash
npm config set ignore-scripts trueExplanation
Turn off lifecycle scripts globally or locally.
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 Lifecycle patterns