[ 
https://issues.apache.org/jira/browse/CB-12767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16000747#comment-16000747
 ] 

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 {{[email protected]}}.

You may also want to try adding {{--nofetch}} to the command, which will use 
the pre-7.x behavior. See 
https://cordova.apache.org/news/2017/05/04/cordova-7.html

> Cordova 7 fails to add android platform Windows 10
> --------------------------------------------------
>
>                 Key: CB-12767
>                 URL: https://issues.apache.org/jira/browse/CB-12767
>             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
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to