3 ms·
Many, many other programming languages’ package managers don’t (or can’t) do this, though. Even big complex desktop apps can, on first run, request initial set
by zbentley 8mo ago
Many, many other programming languages’ package managers don’t (or can’t) do this, though.
Even big complex desktop apps can, on first run, request initial setup permissions or postinstall actions via the OS’s permissions approval system.
Genuine question as someone who uses it rarely: why is that need so much more common in NPM? Why are packages so routinely mutating systemwide arbitrary state at install time rather than runtime? Why is “fail at runtime and throw a window/prompt at the user telling them to set something up” not the usual workflow in NPM as it is in so many other places?