cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <>
Subject [jira] [Resolved] (CB-5068) File "app/www/cordova.js" is referenced in "app/www/index.html" but doesn't exist.
Date Mon, 14 Oct 2013 01:10:43 GMT


Andrew Grieve resolved CB-5068.

    Resolution: Not A Problem
      Assignee: Andrew Grieve

cordova.js is different for each platform, so it's copied into the output www/ directory during

Try typing "cordova prepare" and then,

for Android: look under `hello/platforms/android/assets/www`
for iOS: `hello/platforms/ios/www/`

> File "app/www/cordova.js" is referenced in "app/www/index.html" but doesn't exist.
> ----------------------------------------------------------------------------------
>                 Key: CB-5068
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaJS
>    Affects Versions: 3.1.0
>         Environment: Ubuntu 12.04.3 +
> npm 1.3.11 +
> nodejs 0.10.20 +
>            Reporter: Tom Himanen
>            Assignee: Andrew Grieve
>            Priority: Critical
>              Labels: cordova-cli, cordovajs, script, ubuntu, www
> Is far as I know, "cordova create hello com.example.hello HelloWorld" should create cordova.js
in hello/www. This doesn't happen though. hello/www/index.html references to cordova.js relatively
(hello/www/cordova.js) but no cordova.js can be found. A screenshot of the issue described
above can be seen here:
> This issue can be reproduced by running my Cordova CLI installation script version 1.6
(and any later) on clean install of Ubuntu 12.04.3. The script can be downloaded here:
> One weird thing connected with this issue is that a few weeks ago I installed Cordova
CLI with the script version 1.0 (
on one of my virtual machines running Ubuntu 12.04.3, and after running the script I had a
project with cordova.js in project's www folder. This doesn't happen anymore. Because having
cordova.js in www was rare, I took a snapshot of the virtual machine state to be able to develop
mobile applications. I took a screenshot of that machine to prove that there really is cordova.js
in www folder:

This message was sent by Atlassian JIRA

View raw message