Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: FirefoxOS
    • Labels:
      None

      Description

      Somehow the firefoxos code in plugman got broken and all `plugin add` commands throw this error:

      Fetching plugin "org.apache.cordova.camera" via plugin registry
      Installing org.apache.cordova.camera (firefoxos)
      ReferenceError: xml_helpers is not defined

      This line here uses `xml_helpers` but it's not defined: https://github.com/apache/cordova-plugman/blob/master/src/platforms/firefoxos.js#L25. This looks like it's in the live version. Are all of our plugins broken for cordova and phonegap?

      This person fixed it with this PR. Please merge it: https://github.com/apache/cordova-plugman/pull/61

        Issue Links

          Activity

          Hide
          David Thevenin added a comment -

          The file XXX/src/platforms/firefoxos.js miss the "xml-helpers" import.

          To fix the pb just add this line at the third line for instance:
          ", xml_helpers = require('./../util/xml-helpers')"

          Then you got that import declaration:

          var path = require('path')
          , fs = require('fs')
          , xml_helpers = require('./../util/xml-helpers')
          , common = require('./common');

          Show
          David Thevenin added a comment - The file XXX/src/platforms/firefoxos.js miss the "xml-helpers" import. To fix the pb just add this line at the third line for instance: ", xml_helpers = require('./../util/xml-helpers')" Then you got that import declaration: var path = require('path') , fs = require('fs') , xml_helpers = require('./../util/xml-helpers') , common = require('./common');

            People

            • Assignee:
              Unassigned
              Reporter:
              James Long
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development