Failed to fetch platform cordova-android@7.0.0


(jack harry) #1

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 cordova-android@7.0.0
Failed to fetch platform cordova-android@7.0.0
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.


(system) #2

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.