Getting started with NPM and nodejs

I’m just getting started with NPM and NodejS and I installed with NVM for Windows. Every time I try to install a module it fails with an EPERM error. I tried clearing the cache, changing the install directory, adding a prefix both at the command line and in the config, disabling AV and every suggestion I can find online. I am a local admin and have attempted it through both cmd and powershell with elevated privileges. I tried on a different computer and got the same result so this has to be some kind of configuration I’m doing wrong but followed the NPM docs and I’m doing everything I’m supposed to be doing according to those.

NPM support had a link here.

Any suggestions?