Y
Hacker News
new
|
ask
|
show
|
jobs
by
mrklol
195 days ago
Is there any reason to keep using postinstall scripts allowed instead of asking e.g. the user? Are they even needed in most cases?
1 comments
Cthulhu_
195 days ago
If you ask the user "should I run this script" after installing, they will just hit yes every time. But also, a lot (I'm confident it's "most") of NPM install operations are done on a CI server, which need to run without human interaction.
link