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

[MOBILESPEC] mobilespec fails to create on WP8

    XMLWordPrintableJSON

Details

    Description

      Seems like cordova-plugin-file-transfer dependencies fail for cordova-wp8. Output below.

      $ node cordova-mobile-spec/createmobilespec/createmobilespec.js --copywww --skiplink --wp8 mobilespec

      Creating project from local git repos. If you have any errors, it may be from missing repositories.
      To clone repositories:
      ./cordova-coho/coho repo-clone -r mobile-spec -r plugin-test-framework -r cli -r lib -r plugman -r wp8 -r js -r plugins
      mkdir cordova-cli/node_modules
      (cd cordova-lib/cordova-lib/ && npm install)
      (cd cordova-plugman/ && npm install)
      mkdir cordova-cli/node_modules
      ln -s ../../cordova-lib/cordova-lib cordova-cli/node_modules
      (cd cordova-cli && npm install)
      To update all repositories:
      ./cordova-coho/coho repo-update
      Creating project mobilespec...
      Creating a new cordova project.
      Adding platforms...
      Adding Platform: wp8
      platformArg: C:\Users\buildbot\slaves\apache\cordova-wp8\cordova-cli\bin\cordova C:\Users\buildbot\slaves\apache\cordova-wp8\cordova-wp8
      Adding wp8 project...
      Running command: C:\Users\buildbot\slaves\apache\cordova-wp8\cordova-wp8\bin\create.bat C:\Users\buildbot\slaves\apache\cordova-wp8\mobilespec\platforms\wp8 org.apache.mobilespec mobilespec
      Creating Cordova Windows Project:
      App Name : mobilespec
      Namespace : org.apache.mobilespec
      Path : C:\Users\buildbot\slaves\apache\cordova-wp8\mobilespec\platforms\wp8
      Copying necessary files to C:\Users\buildbot\slaves\apache\cordova-wp8\mobilespec\platforms\wp8
      Updating project files
      Command finished with error code 0: C:\Users\buildbot\slaves\apache\cordova-wp8\cordova-wp8\bin\create.bat C:\Users\buildbot\slaves\apache\cordova-wp8\mobilespec\platforms\wp8,org.apache.mobilespec,mobilespec
      Generating config.xml from defaults for platform "wp8"
      Calling plugman.prepare for platform "wp8"
      Preparing wp8 project
      Processing configuration changes for plugins.
      Iterating over installed plugins: []
      Writing out cordova_plugins.js...
      saving wp8@C:\Users\buildbot\slaves\apache\cordova-wp8\cordova-wp8 into platforms.json
      Updating js for platforms...
      Running "compile:wp8" (compile) task
      generated cordova.wp8.js @ b0463746dd842818c1f08560e998ec847460596c in 13ms

      Done, without errors.
      JavaScript file updated for wp8
      Adding plugins using CLI...
      Searchpath: C:\Users\buildbot\slaves\apache\cordova-wp8\
      Installing local test framework plugins...
      Installing "org.apache.cordova.mobilespec.tests" for wp8
      Installing "org.apache.cordova.test.whitelist" for wp8
      Installing "org.apache.cordova.test.echo" for wp8
      Installing "cordova-plugin-test-framework" for wp8
      Installing "cordova-plugin-device" for wp8
      Installing "cordova-plugin-battery-status" for wp8
      Installing "cordova-plugin-camera" for wp8
      Installing "cordova-plugin-console" for wp8
      Installing "cordova-plugin-contacts" for wp8
      Plugin "cordova-plugin-device" already installed on wp8.
      Installing "cordova-plugin-device-motion" for wp8
      Installing "cordova-plugin-device-orientation" for wp8
      Installing "cordova-plugin-dialogs" for wp8
      Installing "cordova-plugin-file" for wp8
      Installing "cordova-plugin-file-transfer" for wp8
      Failed to install 'cordova-plugin-file-transfer':CordovaError: Plugin doesn't support this project's cordova-wp8 version. cordova-wp8: 4.0.0-dev, failed version requirement: 1.0.0
      at checkEngines (C:\Users\buildbot\slaves\apache\cordova-wp8\cordova-lib\cordova-lib\src\plugman\install.js:119:29)
      at C:\Users\buildbot\slaves\apache\cordova-wp8\cordova-lib\cordova-lib\src\plugman\install.js:296:16
      at _fulfilled (C:\Users\buildbot\slaves\apache\cordova-wp8\cordova-lib\cordova-lib\node_modules\q\q.js:787:54)
      at self.promiseDispatch.done (C:\Users\buildbot\slaves\apache\cordova-wp8\cordova-lib\cordova-lib\node_modules\q\q.js:816:30)
      at Promise.promise.promiseDispatch (C:\Users\buildbot\slaves\apache\cordova-wp8\cordova-lib\cordova-lib\node_modules\q\q.js:749:13)
      at C:\Users\buildbot\slaves\apache\cordova-wp8\cordova-lib\cordova-lib\node_modules\q\q.js:557:44
      at flush (C:\Users\buildbot\slaves\apache\cordova-wp8\cordova-lib\cordova-lib\node_modules\q\q.js:108:17)
      at process._tickCallback (node.js:355:11)
      Plugin doesn't support this project's cordova-wp8 version. cordova-wp8: 4.0.0-dev, failed version requirement: 1.0.0

      Attachments

        Activity

          People

            Unassigned Unassigned
            dblotsky Dmitry Blotsky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified