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

Specifying the --plugin flag without a value causes an exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • cordova-paramedic
    • None

    Description

      FYI: when I failed to add a path paramedic threw a 'type error':

      cordova-paramedic --platform android --plugin
      cordova-paramedic: creating temp project at /var/folders/p4/m50wzcnx3_5grsq_d3z5kq5w0000gn/T/tmp-21300Vfzeii04OHd0
      cordova-paramedic: installing true
      path.js:7
      throw new TypeError('Path must be a string. Received ' + inspect(path));
      ^

      TypeError: Path must be a string. Received true
      at assertPath (path.js:7:11)

      Attachments

        Issue Links

          Activity

            People

              purplecabbage Jesse MacFadyen
              sterlingann sterling gerritz
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: