公式サイトの説明より。許可したい場合は [[--allow-scripts (Deno)|--allow-scripts]] オプションの指定が必要。
> A lot of popular packages npm packages like [`npm:sqlite3`](https://www.npmjs.com/package/sqlite3) or [`npm:duckdb`](https://www.npmjs.com/package/duckdb) depend on ["lifecycle scripts"](https://docs.npmjs.com/cli/v10/using-npm/scripts#life-cycle-scripts), eg. `preinstall` or `postinstall` scripts. Most often running these scripts is required for a package to work correctly.
>
> Unlike npm, Deno does not run these scripts by default as they pose a potential security vulnerability.
>
> You can still run these scripts by passing the `--allow-scripts=<packages>` flag when running `deno install`:
>
> *[deno install](https://docs.deno.com/runtime/reference/cli/install/#native-node.js-addons) *