deploy problem: jpm run, jpm xpi are ok, extension installs but does not work

57 views
Skip to first unread message

pink...@gmail.com

unread,
Nov 11, 2015, 8:59:28 AM11/11/15
to mozilla-labs-jetpack
Hi,

I start experimenting extensions using add-on api and jpm

I installed jpm 1.0.3, I follow the MDN tutorial about the simple extensions reported,
all is ok I run the extension without error and also packaging it is right

the problem is the deploy, when I run firefox and install the xpi firefox says the extension is
installed successfully but the extension button does not appear in toolbar

I goggled a lot but I cannot find the mistake, I just copy and paste the code from the tutorial,
I read almost all add-on sdk doc on MDN but I can't solve

What's wrong?

Adrian Aichner

unread,
Nov 11, 2015, 9:10:16 AM11/11/15
to mozilla-labs-jetpack
Which extension did you try, which tutorial did you follow?

Please provide links.

Did you try to follow
https://developer.mozilla.org/en-US/Add-ons/Add-on_Debugger
for debugging?

pink...@gmail.com

unread,
Nov 11, 2015, 12:09:02 PM11/11/15
to mozilla-labs-jetpack
Solved,

I was deploying on firefox 39 as package.json states

"engines": {
    "firefox": ">=38.0a1",
    "fennec": ">=38.0a1"
  },

when I installed firefox 39 I have upgraded from firefox 7.

So I uninstalled firefox 39, check the folder "mozilla firefox" was not
in programs folder and I reinstalled firefox 39 and deployed the add-on successfully.

Maybe the upgrade scenarios are not supported by add-ons?

The add-on was very simple, just the cut and paste of the mdn tutorial here

https://developer.mozilla.org/en-US/Add-ons/SDK/Tutorials/Getting_Started_%28jpm%29

Thanks
Reply all
Reply to author
Forward
0 new messages