npm ERR! Cannot read property ‘path’ of null
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\SAS12\npm-debug.log
You most likely have to reset the registry reference, try the following. After uninstalling an old version of NodeJS I ran the steps below and this worked for me.