Open janpio opened 5 years ago
because both files begin with
cordova.define("cordova-plugin-globalization.GlobalizationProxy", function(require, exports, module) {
Is that module name correct? It does not match the error message you quoted.
Good catch (Sorry). Correct would have been:
cordova.define("cordova-plugin-math.cordova-plugin-math", function(require, exports, module) {
which is probably caused because both modules are defined as <js-module name="cordova-plugin-math" ...
in plugin.xml
.
leads to
Those files being named identical, leads to this exception:
because both files begin with
Updating
js-module.name
tomathProxy
(and renamingsrc/windows/cordova-plugin-math.js
tosrc/windows/mathProxy.js
and updating the.src
to that) fixes the problem. (Might have to remove and re-add the platform to get rid o the old file though)