简体   繁体   中英

Default Firefox path for jpm doesn't work

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM