Have done a lot of googling, tried reinstalling node.js using the official installer, but my npm pathing still doesn\'t work.
This doesn\'t work
npm
If you can't work with npm packages, you propably has bad config with npm install packages, you try this:
Run the following command in your terminal to revert back to the default registry
npm config set registry https://registry.npmjs.org/
https://docs.npmjs.com/misc/config#registry