我第一次安装jpm。我根据教程创建了我的第一个扩展,但它不可能完成,所以当我运行命令: jpm run it时,会打印错误。我安装了更多的Firefox,配置文件不在标准位置,所以我想检查一下jpm是否可以找到Firefox 43和我的配置文件。我做的第一件事是:
U:\addons\test>jpm test -b "P:\INTERNET\BROWSERS\FF 47\"
JPM [info] Starting jpm test on My Jetpack Addon
JPM [info] Creating a new profile
JPM [error] No Firefox binary found at null
JPM [error] Error: spawn P:\INTERNET\BROWSERS\FF 47" ENOENT从U:开始。然而,我注意到该程序只能在/../这样的相对路径下运行,所以我的问题是,该程序可以在P: partition下安装Firefox吗?如何修复它?
此外,我还尝试将程序文件夹重命名为FF47:
P:\addons\test>jpm run -b /INTERNET/BROWSERS/FF47
JPM [info] Starting jpm run on My Jetpack Addon
JPM [info] Creating a new profile
JPM [error] No Firefox binary found at null
JPM [error] Error: spawn /INTERNET/BROWSERS/FF47 ENOENT相同的结果
您是否有任何提示如何修复jpm以正确工作?
发布于 2016-06-30 13:54:13
Windows上当前版本的jpm无法识别Firefox的目录。您需要在路径的末尾添加firefox.exe。
U:\addons\test>jpm run -b "/INTERNET/BROWSERS/FF 47/firefox.exe" 或
U:\addons\test>jpm run -b "/INTERNET/BROWSERS/FF 47/firefox.exe" -p I:\accounts\Firefox\Profiles\adminhttps://stackoverflow.com/questions/38105726
复制相似问题