Apache Cordova
  1. Apache Cordova
  2. CB-5317

BlackBerry10 can't check engines because of version parsing error

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Master, 3.2.0
    • Fix Version/s: 3.2.0
    • Component/s: BlackBerry
    • Labels:
      None
    • Environment:

      OSX

      Description

      Starting installation of "org.apache.cordova.inappbrowser" for blackberry10
      TypeError: Invalid Version: WARNING: Cannot sign applications. Author.p12 file cannot be found at default location: /Users/csantana23/Library/Resea-rch In Motion/author.p12
      WARNING: Cannot sign applications. bbidtoken.csk file cannot be found at default location: /Users/csantana23/Library/Research In Motion/bbidtoken.csk
      3.2.0
      at new SemVer (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/plugman/node_modules/semver/semver.js:256:11)
      at compare (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/plugman/node_modules/semver/semver.js:409:10)
      at gte (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/plugman/node_modules/semver/semver.js:458:10)
      at cmp (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/plugman/node_modules/semver/semver.js:475:22)
      at Comparator.test (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/plugman/node_modules/semver/semver.js:545:10)
      at testSet (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/plugman/node_modules/semver/semver.js:817:17)
      at Range.test (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/plugman/node_modules/semver/semver.js:809:9)
      at Function.satisfies (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/plugman/node_modules/semver/semver.js:830:16)
      at checkEngines (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/plugman/src/install.js:68:19)
      at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)

      ----------

      mobilespec-bb10:$ ./platforms/blackberry10/cordova/version
      WARNING: Cannot sign applications. Author.p12 file cannot be found at
      default location: /Users/csantana23/Library/Research In Motion/author.p12
      WARNING: Cannot sign applications. bbidtoken.csk file cannot be found at default location: /Users/csantana23/Library/Research In Motion/bbidtoken.csk
      3.2.0

      blackberry10/cordova/version should only output "3.2.0" on stdout

      CheckEngines in plugman fails because of extra text

      Possible fix is to swap console.log for console.error in blackberry10/cordova/cheq_reqs

        Activity

        Carlos Santana created issue -
        Bryan Higgins made changes -
        Field Original Value New Value
        Assignee Bryan Higgins [ bryanhiggins ]
        Bryan Higgins made changes -
        Fix Version/s 3.2.0 [ 12324592 ]
        Bryan Higgins made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Bryan Higgins made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Bryan Higgins
            Reporter:
            Carlos Santana
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development