I have no idea Oo, and this part of IT is absolutely not my area…
Anyway, I don't see how the OS could impact an NPM mechanism.
Have you checked for differences between Node.JS and NPM versions ? I suppose that yes, just to make sure.
Since my answer is quite late, if you have the final word on this I'd be interested !
Cheers !