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

        Hide
        ASF subversion and git services added a comment -

        Commit 12b2c52b7f140d7be68ff51d56008010e801687b in branch refs/heads/3.2.x from Bryan Higgins
        [ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=12b2c52 ]

        CB-5317 Move signing warn logic to build/run scripts

        • Moved to warn function in signing-utils
        • Removed duplicate copy of that module
        Show
        ASF subversion and git services added a comment - Commit 12b2c52b7f140d7be68ff51d56008010e801687b in branch refs/heads/3.2.x from Bryan Higgins [ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=12b2c52 ] CB-5317 Move signing warn logic to build/run scripts Moved to warn function in signing-utils Removed duplicate copy of that module
        Hide
        ASF subversion and git services added a comment -

        Commit 0c959f0583df0a47bc575cd91baa1e976fc8bd48 in branch refs/heads/master from Bryan Higgins
        [ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=0c959f0 ]

        CB-5317 Move signing warn logic to build/run scripts

        • Moved to warn function in signing-utils
        • Removed duplicate copy of that module
        Show
        ASF subversion and git services added a comment - Commit 0c959f0583df0a47bc575cd91baa1e976fc8bd48 in branch refs/heads/master from Bryan Higgins [ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=0c959f0 ] CB-5317 Move signing warn logic to build/run scripts Moved to warn function in signing-utils Removed duplicate copy of that module
        Show
        Bryan Higgins added a comment - https://github.com/apache/cordova-blackberry/pull/122

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development