Error: Registry returned 404 for GET on http://registry.npmjs.org/cordova_plugin_googlemaps

Hello folks,

I am getting this error when building for android with ionic package:

Error: Registry returned 404 for GET on https://registry.npmjs.org/cordova_plugin_googlemaps

when i try to using the belowing command

cordova plugin add cordova_plugin_googlemaps --variable API_KEY_FOR_ANDROID="API_KEY_GOES_HERE" --variable API_KEY_FOR_IOS="API_KEY_GOES HERE"

I also try to set the registry using the next command

npm set registry http://registry.npmjs.org/

But it does not solve my problems. Also i tried to some attempt by adding and removing android platform and add it again without any luck.

Thanks in advance.

may be i solve my problem. its just typing mistake. it should be

 cordova plugin add cordova-plugin-googlemaps --variable API_KEY_FOR_ANDROID="Your_api_key" --variable API_KEY_FOR_IOS="Your_api_key"