Hacker News new | ask | show | jobs
by kreutz 963 days ago
Just use bun
1 comments

I wanted to use Bun for our app but couldn't due to a lack of support for `postinstall` scripts at the moment.
As in the dependencies you add don't run their postinstall scripts or your app's package defines a postinstall and that script doesn't run?

The latter should work but the former requires an extra step for now iirc: https://bun.sh/docs/cli/install#lifecycle-scripts

The former, specifically Electron. Adding it to "trustedDependencies" didn't seem to help.

https://github.com/oven-sh/bun/issues/1588