On my Debian 10 I've ran into same problem with npm as many people before:
npm does not support Node.js v10.15.2
Searching for the fix I've found that the bug was fixed in debian:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=904422
But I have latest version of npm package from debian apt and it is still 5.8.0. Can someone explain if and when the bugfix will be in debian stable repo? Thanks