You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "SAJANA MAHARJAN (JIRA)" <ji...@apache.org> on 2017/10/25 16:29:01 UTC

[jira] [Updated] (CB-13489) Failed to fetch platform cordova-android@~6.3.0

     [ https://issues.apache.org/jira/browse/CB-13489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

SAJANA MAHARJAN updated CB-13489:
---------------------------------
    Description: 
Deleted platform and plugins and did cordova prepare. Got following error:

Error: Failed to fetch platform cordova-android@~6.3.0
Probably this is either a connection problem, or platform spec is incorrect.
Check your connection and platform name/version/URL.
Failed to get absolute path to installed module

It works fine when adding individual platform: cordova platform add android
I have cordova 7.1.0 and it says "Platforms and plugins are now required to have a package.json file" but I don't get package.json file created for platforms when adding platforms. is that a problem too?


  was:
Deleted platform and plugins and did cordova prepare. Got following error:

Error: Failed to fetch platform cordova-android@~6.3.0
Probably this is either a connection problem, or platform spec is incorrect.
Check your connection and platform name/version/URL.
Failed to get absolute path to installed module


> Failed to fetch platform cordova-android@~6.3.0
> -----------------------------------------------
>
>                 Key: CB-13489
>                 URL: https://issues.apache.org/jira/browse/CB-13489
>             Project: Apache Cordova
>          Issue Type: Bug
>    Affects Versions: cordova@7.1.0
>            Reporter: SAJANA MAHARJAN
>
> Deleted platform and plugins and did cordova prepare. Got following error:
> Error: Failed to fetch platform cordova-android@~6.3.0
> Probably this is either a connection problem, or platform spec is incorrect.
> Check your connection and platform name/version/URL.
> Failed to get absolute path to installed module
> It works fine when adding individual platform: cordova platform add android
> I have cordova 7.1.0 and it says "Platforms and plugins are now required to have a package.json file" but I don't get package.json file created for platforms when adding platforms. is that a problem too?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org