With npm 12.x post install is not anymore allowed
Author: aaltatCreated Jul 13, 2026Updated Aug 21, 2026
When installing esbuild with npm 12.x I get the following warning
npm warn install-scripts 6 packages had install scripts blocked because they are not covered by allowScripts:
npm warn install-scripts [email protected] (postinstall: node install.js)This is caused be change in node and post install script are not anymore allowed by default. There is migration guidance in https://installsafe.dev/ It would be nice if esbuild could be updated and drop the usage of post install scripts.
Source: evanw/esbuild