Getting error while installing cordova using the command “npm install -g cordova”

image

I already had cordova installed but somehow it stopped working. Recently I had installed windows 10 sdk to try and publish an app in windows platform.

I tried uninstalling cordova by running the command ‘npm uninstall -g cordova’ through cmd but even that didn’t help. Not sure if uninstalling cordova has removed it completely or not!

Please let me know who ever can if I could try and remove it in some other way. Or should I try removing node js completely and then installing it again?

Or please let me know if anything else could be done for this error.