I tried to add the android platform to my project, but I received an error:
~/learn/hello $cordova platform add android
npm http GET https://registry.npmjs.org/cordova-android/4.0.0
npm http 401 https://registry.npmjs.org/cordova-android/ 4.0.0
Unable to fetch platform android: Error: unauthorized Name or password is incorrect.: cordova-android/4.0.0
I want to know why this happens
Cordova version 5.0. 0,
Phonegap version 5.0.0-0.27.1
I think this problem is due to .Npmrc in your home directory, just delete it, everything should work
I tried to add the android platform to my project, but I got the error:
p>
~/learn/hello$cordova platform add android
npm http GET https://registry.npmjs.org/cordova-android/4.0.0
npm http 401 https://registry.npmjs.org/cordova-android/4.0.0
Unable to fetch platform android: Error: unauthorized Name or password is incorrect.: cordova-android/4.0.0
I want to know why this happens
Cordova version 5.0.0,
Phonegap version 5.0.0-0.27.1
I Think this problem is because of .npm in your home directory rc, just delete it, everything should work