Hacker News new | ask | show | jobs
by tkel 37 days ago
Just dont use npm. Use a package manager which doesn't execute postinstall by default. The switch is incredibly simple.
2 comments

It’s hard to enforce on developer machines - there are lots of ways to install npm even if you never use it for managing development dependencies.
Which package manager is that, and what caveats does it offer?
Pnpm - installs are faster to boot. We haven’t missed anything
pnpm