Jan-Dirk Schuitemaker created CB-6198:
-----------------------------------------
Summary: Error: ENOENT, no such file or directory / config.xml
Key: CB-6198
URL: https://issues.apache.org/jira/browse/CB-6198
Project: Apache Cordova
Issue Type: Bug
Components: FirefoxOS
Affects Versions: 3.4.0
Environment: Windows 7/x64, Dell Precision M4500, 8GB memory, Intel
Core I5
Reporter: Jan-Dirk Schuitemaker
Here are my steps (Windows 7 x64, elevated cmd prompt):
Install cordova
- npm install -g cordova
- npm update -g cordova
Create project
- cordova create myproject com.me.myproject myproject
- cd myproject
- md ".cordova" <--- seems to be requirement the docs don't talk about
Add platform and plugins I need
- cordova platforms add firefoxos
- cordova plugin add org.apache.cordova.device
- cordova plugin add org.apache.cordova.inappbrowser
- cordova plugin add org.apache.cordova.dialogs
- cordova plugin add org.apache.cordova.vibration
- cordova plugin add org.apache.cordova.splashscreen
Build (prepare) for platform
- cordova prepare firefoxos
This results in this error:
Generating config.xml from defaults for platform "firefoxos"
Preparing firefoxos project
{ [Error: ENOENT, no such file or directory
'C:\Temp\Development\k1ckstarter\platforms\firefoxos\www\config.xml']
errno: 34
code: 'ENOENT',
path:
'C:\\Temp\\Development\\myproject\\platforms\\firefoxos\\www\\config.xml',
syscall: 'open' }
I have tried various variations of the above, but I keep getting errors about
no such file or directory referencing to config.xml
--
This message was sent by Atlassian JIRA
(v6.2#6252)