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

unable to add platform 'browser' to cordova project

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 6.3.1
    • Fix Version/s: None
    • Component/s: cordova-browser
    • Labels:
    • Environment:

      windows 8.1 64-bit
      node 0.12.7
      npm 2.11.3
      cordova 6.3.1

      Description

      I'm following the steps provided under 'Get Started Fast' section in Cordova official page (https://cordova.apache.org/).

      After installing cordova and creating the project, while executing the command to add 'browser' platform (Command: cordova platform add browser), i'm getting the following error:

      Error: Failed to fetch platform browser
      Probably this is either a connection problem, or platform spec is incorrect.
      Check your connection and platform name/version/URL.
      Error: shasum check failed for C:\Users\KH293\AppData\Local\Temp\npm-11160-c84d1
      e1d\registry.npmjs.org\cordova-browser-\cordova-browser-4.1.0.tgz
      Expected: a0878f7a9cfca80c5e013cb3e53487b73e9c8350
      Actual: 75079065e5cd50aa6743cbd85317617053fb20c6
      From: https://registry.npmjs.org/cordova-browser/-/cordova-browser-4.1.0.tgz

      Additional notes: 1)I tried re-installing cordova and adding the platform, still it didn't work.
      2)Adding 'android' platform is successful.

        Attachments

          Activity

            People

            • Assignee:
              purplecabbage Jesse MacFadyen
              Reporter:
              deepak.vasalamarri@gmail.com Deepak Vasalamarri
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: