cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rodms10 <>
Subject [GitHub] cordova-firefoxos pull request: Fixing error on new CLI/LIB: cp: n...
Date Wed, 30 Jul 2014 22:13:14 GMT
GitHub user rodms10 opened a pull request:

    Fixing error on new CLI/LIB: cp: no such file or directory

    On latest versions of CLI and LIB a `cp: no such file or directory` error was being displayed
on the console after adding firefoxos platform.
    This was happening because cordova's `platform add` code tries to copy `cordova.js` file
from `www` to `platform_www`([code](,
see [this change](
for more info. In
we started moving `cordova.js` into `platform_www` as `prepare` would copy it to `www`.
    Fix is to copy `cordova.js` to `www` and let it be copied to `platform_www` by `platform

You can merge this pull request into a Git repository by running:

    $ git pull cp-error

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #19
commit 20def3b060620e71113d8fa8c6cd671fb6ca2504
Author: Rodrigo Silveira <>
Date:   2014-07-30T22:03:11Z

    Fixing error on new CLI/LIB: cp: no such file or directory: /Users/rodrigo/mozilla/cordova/delme/platforms/firefoxos/www/cordova.js


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message