I just updated npm to 5.4.0.
Now, Whenever I want install a npm package I get the following error:
D:\\Sources\\DownloadCms\\Md
If you downgrade to 5.3 and still get the same error in Windows like me.
After hours working with npm versions I found the following solution:
1. Download latest recommended version of nodejs, these days is node-v6.11.3-x64
2. Uninstall nodejs with it.
3. Go to C:\Users\{YourUsername}\AppData\Roaming folder and delete npm and npm-cache folders
4. Run installer of nodejs again and install it
5 Update npm to 5.3 with npm i -g npm@5.3 command line
Now you should use npm without any issues.