I added npm to lms_debian_pkgs in this branch, the reason why I was seeing failures were due to these extra repos.
Since this won't remove them if they were added previously I had to do something like
```
rm -f /etc/apt/sources.d/*
apt get update
```

After that the npm system package installs fine.