| ▲ | voidUpdate 2 hours ago | |||||||
One thing I've never understood is why NPM allows packages to run code immediately after they are installed. What's the use case for that? A package should just be some code you can call on at runtime | ||||||||
| ▲ | tom1337 2 hours ago | parent | next [-] | |||||||
Some packages need to build native dependencies. sharp for example needs to build libvips on the system [0] to work 0: https://github.com/lovell/sharp/blob/main/install/build.js | ||||||||
| ||||||||
| ▲ | mark_l_watson an hour ago | parent | prev [-] | |||||||
I turn off running scripts on installation. So far, no inconveniences. | ||||||||