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

Error adding platform amazon-fireos

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • cordova client 4.3.0
      running on mac osx

    Description

      Using the cordova client to create an empty project and then add amazon-fireos as a platform no longer works with 4.3.0 (note that steps below work fine for platform android).

      Steps:

      cordova create foo foo.com Foo
      cd foo
      cordova -d platform add amazon-fireos

      Get the following error:

      No version supplied. Retrieving version from config.xml...
      CordovaError: The provided path does not seem to contain a Cordova platform: /Users/dwhogg/.cordova/lib/npm_cache/cordova-amazon-fireos/3.6.3/package
      at getPlatformDetailsFromDir (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/platform.js:229:25)
      at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/platform.js:192:16
      at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54)
      at self.promiseDispatch.done (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30)
      at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13)
      at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:557:44
      at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17)
      at process._tickCallback (node.js:355:11)

      Note that the above path to .cordova/lib/npm_cache/cordova-amazon-fireos/3.6.3/package does get created and appears OK.

      Attachments

        Activity

          People

            naika Archana Naik
            dwhogg David Hogg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: