Skip to content

With npm 12.x post install is not anymore allowed #4499

Description

@aaltat

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   esbuild@0.28.1 (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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions