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

cordova-android's 'npm run test-build' fails on windows

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: None
    • Component/s: cordova-android
    • Labels:
      None

      Description

      C:\Projects\Cordova\cordova-android>npm run test-build
      
      > cordova-android@4.2.0-dev test-build C:\Projects\Cordova\cordova-android
      > rm -rf "test create"; ./bin/create "test create" com.test.app ?? && "./test create/cordova/build" && rm -rf "test create"
      
      The system cannot find the path specified.
      
      npm ERR! cordova-android@4.2.0-dev test-build: `rm -rf "test create"; ./bin/create "test create" com.test.app ?? && "./test create/cordova/build" && r
      m -rf "test create"`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the cordova-android@4.2.0-dev test-build script.
      npm ERR! This is most likely a problem with the cordova-android package,
      npm ERR! not with npm itself.
      npm ERR! Tell the author that this fails on your system:
      npm ERR!     rm -rf "test create"; ./bin/create "test create" com.test.app ?? && "./test create/cordova/build" && rm -rf "test create"
      npm ERR! You can get their info via:
      npm ERR!     npm owner ls cordova-android
      npm ERR! There is likely additional logging output above.
      npm ERR! System Windows_NT 6.2.9200
      npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "test-build"
      npm ERR! cwd C:\Projects\Cordova\cordova-android
      npm ERR! node -v v0.10.33
      npm ERR! npm -v 1.4.28
      npm ERR! code ELIFECYCLE
      npm ERR!
      npm ERR! Additional logging details can be found in:
      npm ERR!     C:\Projects\Cordova\cordova-android\npm-debug.log
      npm ERR! not ok code 0
      
      C:\Projects\Cordova\cordova-android>
      

        Attachments

          Activity

            People

            • Assignee:
              alsorokin Alexander Sorokin
              Reporter:
              alsorokin Alexander Sorokin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: