npm 12 Stopped Running Dependency Install Scripts by Default: How to Fix Builds Safely
npm 12 now blocks unapproved dependency install scripts by default. Here is how to diagnose broken installs, approve only the scripts you trust, and handle the other new Git and remote-URL restrictions.