Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: