A new release of platform ios email@example.com is published to NPM
User tries to install with $ cordova platform firstname.lastname@example.org
At the time of this command the npm cache information for the pacakge cordova-ios in ~/.cordova/lib/npm_cache/registry.npmjs.org/cordova-ios/.cache.json doesn't have the information about 4.1.0 and the file is not older than 24 hours.
cordova cli is configured with npm cache-min = 3600*24 (24 hours)
If the file in the cache is not older than 24 hours npm will not check the registry. and requested package email@example.com is not added to the cache.
There is no err catch for this case in the cordova-lib