3 ms·
I think part of it comes down to a mix of transitive dependencies (common on both platforms) and a handful of core dependencies requiring native compilation (I
by dhosek 3y ago
I think part of it comes down to a mix of transitive dependencies (common on both platforms) and a handful of core dependencies requiring native compilation (I don’t think anything in npm does this, but I don’t have the familiarity). It‘s the latter that creates the fragility. I thought I knew make until I had to deal with cross-platform makefiles. If you had the bad luck to want to use a module which had somewhere in its dependency tree a module who compilation had never been tested against your environment, insert gif of mushroom cloud here.
- doctor_eval 3y agoI think you’re right. I used a lot of less common unices back in the day - dg/ux and HP/ux in particular - and I remember a lot of C compiler failures, though I don’t remember much else. NPM certainly has native builds but with my use case involving the predominant targets (Linux and MacOS) I just don’t hit the barriers I used to. That said, by the late 90s my desktop was Linux and I still avoided CPAN!
- dhosek 3y agoOperant conditioning is a powerful force.