News for hackers. Stuff that matters.
Re:Node 8.3.0 released by Androider on Thursday August 10, 2017 @11:29AM (#14980668)
NPM 5.x in Node v8.1 consistently only installs 481 out of 493 packages in our node_modules folder. No errors, everything looks absolutely fine, except 12 packages are straight up missing. That was fun to debug! Both NPM 3 and yarn produce the expected result.

That was the last straw for me and NPM is now banned in favor of yarn.

Re:Node 8.3.0 released by whatever_dude on Thursday August 10, 2017 @01:30PM (#14982001)
I actually had the opposite happening: a project was having some real issues with not installing proper dependencies until we started using npm 5.3+. Things work fine now and are a bit more deterministic it seems.

It's an odd project with a lot of super strange peer dependencies, many of them in beta or as pre-releases, so I'm sure it's nothing that happens all the time (the joys of using React Native and Relay where everything is at an imaginary release state). But still glad npm 5 made it work consistently.

Re:Node 8.3.0 released by hinkley on Thursday August 10, 2017 @03:43PM (#14983377)
Same. One team is running npm@3 installs twice in CI to pick up half a dozen modules that don't install the first time. On another project I managed to massage the package.json to stop it from happening.
Re:Node 8.3.0 released by AgentME on Thursday August 10, 2017 @02:05PM (#14982403)
Do you any dependencies or subdependencies with git urls? I've previously run into https://github.com/npm/npm/issues/17189, and I solved it by ... updating the dependency to a newer version that switched away from having subdependency pulled from git.
Re:Node 8.3.0 released by AgentME on Thursday August 10, 2017 @05:37PM (#14984558)
Good news, I just looked at that bug again and it turns out it's no longer reproducible in the latest version of npm.
Re:Node 8.3.0 released by mAritz on Thursday August 10, 2017 @12:21PM (#14981223)
Same thing happened to me in multiple projects on multiple machines. Weird how that seems so common and still made it into v5.
Re:Node 8.3.0 released by tracker1 on Thursday August 10, 2017 @04:31PM (#14983901)
I find less issues when I `rm -rf node_modules`, `rm package-lock.json` and `npm i` again... usually when I manually edit my package.json packages.
Re:Node 8.3.0 released by Muuuchem on Thursday August 10, 2017 @11:45AM (#14980823)
Lol mine has been oddly adding 1000 packages only sometimes when I npm install after a pull when we are using maybe 100 shits weird.