cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe Lang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-2702) "cordova platform add android" cannot find cordova-2.5.0.js file at the specified path.
Date Mon, 18 Mar 2013 14:22:15 GMT

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

Philippe Lang commented on CB-2702:
-----------------------------------

Problem solved by using sudo: "sudo cordova platform add android".

Duplicate of http://mail-archives.apache.org/mod_mbox/cordova-issues/201302.mbox/%3CJIRA.12632596.1360942315172.302827.1361226552565@arcas%3E
                
> "cordova platform add android" cannot find cordova-2.5.0.js file at the specified path.
> ---------------------------------------------------------------------------------------
>
>                 Key: CB-2702
>                 URL: https://issues.apache.org/jira/browse/CB-2702
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 2.5.0
>         Environment: OSX
>            Reporter: Philippe Lang
>            Assignee: Filip Maj
>
> Hi, when trying to add the android platform into my cordova 2.5 project tree, here is
what I get:
> [MacBook-Pro-de-Philippe-Lang crfr]$ cordova platform add ios android               
              
> [Error: An error occured during creation of android sub-project. cp: /opt/local/lib/node_modules/cordova/lib/cordova-android/framework/assets/www/cordova-2.5.0.js:
No such file or directory
> An unexpected error occurred: cp "$BUILD_PATH"/framework/assets/www/cordova-$VERSION.js
"$PROJECT_PATH"/assets/www/cordova-$VERSION.js exited with 1
> Deleting project...
> ]
> A closer look at this showed me that the needed file is actually here:
> /opt/local/lib/node_modules/cordova/lib/cordova-android/framework/assets/js/cordova-android.js

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message