简体   繁体   English

jpm的默认Firefox路径不起作用

[英]Default Firefox path for jpm doesn't work

I am running Ubuntu 16.04 with Firefox 46.0 . 我用Firefox 46.0运行Ubuntu 16.04 While trying to run 'jpm run' on a new add-on (crawler) created with ' jpm init' , I receive the following output: 尝试在使用' jpm init'创建的新附加组件(crawler)上运行'jpm run'时,我收到以下输出:

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 . 我最终运行'jpm run'并注意到一些事情: jpm run使用的路径是/usr/lib64/firefox /usr/lib64/firefox is not where the Firefox binary is on Ubuntu ; /usr/lib64/firefox不是Firefox二进制文件Ubuntu上的位置 ;

I followed the Documentation . 我按照文档

and read the issues also but it is not helpful for it. 并阅读问题,但它没有帮助。

The jpm has an issue reported here . jpm 在这里报道一个问题。 The default path for firefox binary file is /usr/lib64/firefox , but as per the documentation you have to use the: firefox二进制文件的默认路径是/usr/lib64/firefox ,但根据文档你必须使用:

jpm run -b /usr/bin/firefox

The location of binary file of firefox in Ubuntu 16.04 is /usr/bin/firefox Ubuntu 16.04firefox的二进制文件的位置是/usr/bin/firefox

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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