cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Thevenin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-6200) plugman has broken all plugins for firefoxos
Date Wed, 26 Mar 2014 05:01:19 GMT

    [ https://issues.apache.org/jira/browse/CB-6200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13947553#comment-13947553
] 

David Thevenin commented on CB-6200:
------------------------------------

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');



> plugman has broken all plugins for firefoxos
> --------------------------------------------
>
>                 Key: CB-6200
>                 URL: https://issues.apache.org/jira/browse/CB-6200
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: FirefoxOS
>            Reporter: James Long
>
> 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



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message