In my situation I simply ran npx commands from the terminal as Administrator, this was a more correct way for npm to access the root node_modules.