cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kerri Shotts (JIRA)" <>
Subject [jira] [Commented] (CB-12767) Cordova 7 fails to add android platform Windows 10
Date Mon, 08 May 2017 13:46:04 GMT


Kerri Shotts commented on CB-12767:

Cordova 7 uses your system's npm to fetch platforms and plugins by default. Where do you have
node and npm installed, and if you type {{npm -v}} at a command prompt, does it work?

Also, please try adding {{cordova-android@6.2.3}}.

You may also want to try adding {{--nofetch}} to the command, which will use the pre-7.x behavior.

> Cordova 7 fails to add android platform Windows 10
> --------------------------------------------------
>                 Key: CB-12767
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>    Affects Versions: cordova-7
>         Environment: Windows 10
> Cordova 7
> npm 4.1.1
>            Reporter: Phillip Whiteley
> Just upgraded to cordova 7 - hoping to fix my previous reported bug but instead get new
problem.. I have used cordova for years without any issues - is this all because of Google?
Appreciate any help..
> C:\Users\phil\Desktop\week9Tute\wk9app>cordova platform add android
> Using cordova-fetch for cordova-android@~6.2.2
> Error: Failed to fetch platform cordova-android@~6.2.2
> 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:
> '"C:\Program Files\nodejs\npm"' is not recognized as an internal or external command,
> operable program or batch file.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message