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

Platform Add fails to add plugins with variables

    Details

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

      Description

      Steps:
      1.Create a cordova project
      2.Add plugin with variables (like the facebook plugin)
      3.Add android platform

      Result:
      Failed to add plugin with error:

      Installing "[plugin]" for [platform]
      Failed to install '[plugin]':Error: Variable(s) missing: [variables]
          at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:299:23
          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)
      

        Attachments

          Activity

            People

            • Assignee:
              TimBarham Tim Barham
              Reporter:
              TimBarham Tim Barham
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified