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

Omar Mefire commented on CB-8447:
---------------------------------

Another way to workaround this issue would be to make use of the current code 
in the master branch of cordova-lib, since in it this issue is fixed.

I would try the following:

- backup project 
- create a temp directory and clone the latest cordova into it : 
   * mkdir ~/temp
   * cd ~/temp
   * git clone https://github.com/apache/cordova-cli.git (this clones 
cordova-cli)
   * edit ~/temp/cordova-cli/package.json (under dependencies section) to point 
to the current master where this bug is fixed :
           -- change "cordova-lib" : "4.0.0" to "cordova-lib": 
"https://github.com/apache/cordova-lib.git";,
   * inside ~/temp/cordova-cli, run 'npm install'
   * cd ~/hello-project
   * ~/temp/cordova-cli/bin/cordova platform update [email protected]

Let me know if this works for you.

> 'cordova platform update [email protected]' fails
> ---------------------------------------------
>
>                 Key: CB-8447
>                 URL: https://issues.apache.org/jira/browse/CB-8447
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>            Reporter: Omar Mefire
>
> [This issue is resolved in the current master branch]
> In [email protected], The following sequence of operations fails :
> - cordova platform add [email protected]
> - cordova platform update [email protected]
> The error message is :  "Platform "[email protected]" is not installed. See 
> `cordova platform list`."



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to