Hacker News new | ask | show | jobs
by nikanj 1206 days ago
It’s been [2] days since I had to fix our npm install.

One package (not ours) suddenly fails to build about 40% of the time. Looks like a parallel access problem, node-gyp poops with ”Unable to access foobar.tlog” because some other step is using the same file

Fixed elegantly by adding a while(failed){npm install}

Because trying to debug the build for a package you didn’t create just isn’t worth it