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

JS package managers (pnpm, bun) now will ignore postinstall scripts by default. Except for npm, it still runs them for legacy reasons.

You should probably set your default to not run those scripts. They are mostly unnecessary.

  ~/.npmrc :
  ignore-scripts=true

83M weekly downloads!


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

Search: