1

I am running Ubuntu 16.04 with Firefox 46.0. While trying to run 'jpm run' on a new add-on (crawler) created with 'jpm init', I receive the following output:

JPM [info] Starting jpm run on Crawler
JPM [info] Creating a new profile
JPM [error] No Firefox binary found at null
JPM [error] Error: spawn /usr/lib64/firefox ENOENT

I couldn't figure out what was going on at first. I eventually run 'jpm run' and noticed something: the path being used by jpm run was /usr/lib64/firefox. /usr/lib64/firefox is not where the Firefox binary is on Ubuntu;

I followed the Documentation.

and read the issues also but it is not helpful for it.

rajthakur
  • 443
  • 6
  • 16
Akhilesh Singh
  • 1,724
  • 2
  • 19
  • 35
  • This is a question for Super User website, not for Stack Overflow. I vote to move it. – Marcos Pérez Gude May 18 '16 at 12:01
  • Questions about **general computing hardware and software are off-topic** for Stack Overflow unless they directly involve tools used primarily for programming. You may be able to get help on [Super User](http://superuser.com/about). – Marcos Pérez Gude May 18 '16 at 12:02
  • @MarcosPérezGude i guess this quetion is related to the javascript extension developement because i face this issuse while developing this? So i posted here – Akhilesh Singh May 18 '16 at 12:04
  • Ok no problem. Let moderators make a decision. however seems that you solve the problem. Congrats :) – Marcos Pérez Gude May 18 '16 at 13:39

1 Answers1

3

The jpm has an issue reported here. The default path for firefox binary file is /usr/lib64/firefox, but as per the documentation you have to use the:

jpm run -b /usr/bin/firefox

The location of binary file of firefox in Ubuntu 16.04 is /usr/bin/firefox

rajthakur
  • 443
  • 6
  • 16