In response to recent software supply chain attacks, NPM version 12 is blocking the automatic script execution at install.
When visiting a website or while using any application such as Outlook or Teams in Windows 11 or Windows 10, if you receive a Script Error, then this post will help you troubleshoot the problem.