Encounter the following message:
(Please note that it happen after doing a ‘ionic cordova build android’ command in Windows Command Prompt. Also, note that the computer is restricted and thus do not have Internet access)
Using cordova-fetch for firstname.lastname@example.org
Failed to fetch platform email@example.com
Probably this is either a connection problem, or platform spec is incorrect.
Check your connection and platform name/version/URL.
Error: cmd: Command failed with exit code 1 Error output:
npm WARN registry Using stale data from https://registry.npmjs.org/ because the host is inaccessible – are you offline?
npm WARN registry Using stale package data from https://registry.npmjs.org/ due to a request error during revalidation.
npm ERR! cb() never called!
npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! https://npm.community
Please help. Thanks.