Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-6198

Error: ENOENT, no such file or directory / config.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 3.4.0
    • None
    • Windows 7/x64, Dell Precision M4500, 8GB memory, Intel Core I5

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            jdschuitemaker Jan-Dirk Schuitemaker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: