You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Carlos Santana (JIRA)" <ji...@apache.org> on 2014/02/21 23:49:19 UTC

[jira] [Created] (CB-6089) Can not add device plugin when platform firefoxos present

Carlos Santana created CB-6089:
----------------------------------

             Summary: Can not add device plugin when platform firefoxos present
                 Key: CB-6089
                 URL: https://issues.apache.org/jira/browse/CB-6089
             Project: Apache Cordova
          Issue Type: Bug
          Components: CLI, FirefoxOS, Plugin Device
    Affects Versions: 3.4.0
         Environment: osx
cordova cli

            Reporter: Carlos Santana


$ cordova create hello
$ cd hello
$ cordova platform add ios
$ cordova platform firefoxos
$ cordova plugin add org.apache.cordova.device
Fetching plugin "org.apache.cordova.device" via plugin registry
Starting installation of "org.apache.cordova.device" for android
Preparing android project
org.apache.cordova.device installed on android.
Starting installation of "org.apache.cordova.device" for firefoxos
Preparing firefoxos project
Error: ENOENT, no such file or directory '/Users/csantana23/git/csantanapr/triangle-open-data-day/hybridApp/todd/platforms/firefoxos/www/config.xml'
    at Object.fs.openSync (fs.js:427:18)
    at Object.fs.readFileSync (fs.js:284:15)
    at Object.module.exports.parseElementtreeSync (/Users/csantana23/.nvm/v0.10.24/lib/node_modules/cordova/node_modules/plugman/src/util/xml-helpers.js:119:27)
    at Object.module.exports.package_name (/Users/csantana23/.nvm/v0.10.24/lib/node_modules/cordova/node_modules/plugman/src/platforms/firefoxos.js:10:38)
    at Object.module.exports.generate_plugin_config_munge (/Users/csantana23/.nvm/v0.10.24/lib/node_modules/cordova/node_modules/plugman/src/util/config-changes.js:100:53)
    at Object.module.exports.add_plugin_changes (/Users/csantana23/.nvm/v0.10.24/lib/node_modules/cordova/node_modules/plugman/src/util/config-changes.js:300:43)
    at /Users/csantana23/.nvm/v0.10.24/lib/node_modules/cordova/node_modules/plugman/src/util/config-changes.js:440:28
    at Array.forEach (native)
    at Object.module.exports.process (/Users/csantana23/.nvm/v0.10.24/lib/node_modules/cordova/node_modules/plugman/src/util/config-changes.js:439:49)
    at Object.handlePrepare (/Users/csantana23/.nvm/v0.10.24/lib/node_modules/cordova/node_modules/plugman/src/prepare.js:69:20)




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)