Skip to content

Improve lifecycle scripts warning #30448

@ry

Description

@ry
# deno install
Warning The following packages contained npm lifecycle scripts (preinstall/install/postinstall) that were not executed:
┠─ npm:@tailwindcss/[email protected]
┠─ npm:[email protected]
┃
┠─ This may cause the packages to not work correctly.
┖─ To run lifecycle scripts, use the `--allow-scripts` flag with `deno install`:
   deno install --allow-scripts=npm:@tailwindcss/[email protected],npm:[email protected]

This is very commonly seen with Deno, and could use some love and attention to make it as clear, terse, and actionable as possible.

Related #30387

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions