News for hackers. Stuff that matters.
Re:Programming Isn’t Coding by cratermoon on Friday March 31, 2023 @11:25PM (#35396794)
How TF do you get a segfault from npm?
Re:Programming Isn’t Coding by eyelidlessness on Friday March 31, 2023 @11:29PM (#35396827)
Well it’s not uncommon to have Node segfault, especially when interfacing with native extensions of one kind or another. NPM is just a Node script. It runs a whole lot of other Node scripts as preconditions by default. Many of them, maybe even most, interface with native extensions of one kind or another.
Re:Programming Isn’t Coding by cratermoon on Saturday April 01, 2023 @11:30AM (#35401042)
OK, Node I can see. I suppose part of the point of the article is that a student doesn't know npm from node, nor how npm run works.

On the flip side, a core tool like node segfault commonly seems like a problem. Or at least a problem with poorly-written native extensions.