I'm trying to run uProxy for firefox by running "cfx run" in the build/firefox directory and getting the following error:
ModuleNotFoundError: unable to satisfy: require(uproxy.js) from
/usr/local/google/home/dborkan/github/uproxy-firefox/build/firefox/lib/glue.js:9:
Looked for it in:
/usr/local/google/home/dborkan/github/uproxy-firefox/build/firefox/lib/uproxy.js
/usr/local/google/home/dborkan/firefox-tools/addon-sdk-1.16/lib/uproxy.js
/usr/local/google/home/dborkan/github/uproxy-firefox/build/firefox/lib/uproxy.js
If I change in glue.js:
var uProxy = require('uproxy.js').uProxy;
to
+var uProxy = require(self.data.url('scripts/uproxy.js')).uProxy;
firefox opens, but the error changes to:
Error: Module: uproxy/glue has no authority to load: resource://jid1-dhgl7eiwcjxveq-at-jetpack/uproxy/data/scripts/uproxy.js
I'm trying to run uProxy for firefox by running "cfx run" in the build/firefox directory and getting the following error:
If I change in glue.js:
var uProxy = require('uproxy.js').uProxy;
to+var uProxy = require(self.data.url('scripts/uproxy.js')).uProxy;
firefox opens, but the error changes to:Error: Module: uproxy/glue has no authority to load: resource://jid1-dhgl7eiwcjxveq-at-jetpack/uproxy/data/scripts/uproxy.js