Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
3.3.0, 3.4.0
-
None
-
None
-
Ubuntu 13.10, installed from npm repository (3.3.1-0.3.1) and from git repo (3.3.0 and 3.4.0)
Description
(local src from git (3.4.0-rc.1))
braas@chickenrun:~/projects/test$ cordova create FOSTEST
Creating a new cordova project with name "HelloCordova" and id "io.cordova.hellocordova" at location "/var/tmp/braas/projects/test/FOSTEST"
Downloading cordova library for www...
Download complete
~/projects/test$ cd FOSTEST
~/projects/test$ cordova plugin add org.apache.cordova.geolocation
Fetching plugin "org.apache.cordova.geolocation" via plugin registry
~/projects/test/FOSTEST$ cordova platform add firefoxos
Downloading cordova library for firefoxos...
Download complete
Creating firefoxos project...
Generating config.xml from defaults for platform "firefoxos"
Preparing firefoxos project
Starting installation of "org.apache.cordova.geolocation" for firefoxos
Preparing firefoxos project
Error: ENOENT, no such file or directory '/home/braas/projects/test/FOSTEST/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 (/home/braas/npm/lib/node_modules/plugman/src/util/xml-helpers.js:119:27)
at Object.module.exports.package_name (/home/braas/npm/lib/node_modules/plugman/src/platforms/firefoxos.js:10:38)
at Object.module.exports.generate_plugin_config_munge (/home/braas/npm/lib/node_modules/plugman/src/util/config-changes.js:100:53)
at Object.module.exports.add_plugin_changes (/home/braas/npm/lib/node_modules/plugman/src/util/config-changes.js:300:43)
at /home/braas/npm/lib/node_modules/plugman/src/util/config-changes.js:440:28
at Array.forEach (native)
at Object.module.exports.process (/home/braas/npm/lib/node_modules/plugman/src/util/config-changes.js:439:49)
at Object.handlePrepare (/home/braas/npm/lib/node_modules/plugman/src/prepare.js:69:20)
~/projects/test/FOSTEST$
~/projects/test/FOSTEST$ ls platforms/firefoxos/www
cordova.js cordova_plugins.js css img index.html js manifest.webapp
:~/projects/test/FOSTEST$ ls platforms/firefoxos
config.xml cordova platform_www www