web-ext
是一个命令行工具,旨在加速浏览器扩展开发过程的各个部分。
当我尝试时web-ext run -t firefox-desktop
,出现以下错误:
Running web extension from /home/aloisdg/Source/markdin/source
Error: not found: firefox
at F (/usr/lib/node_modules/web-ext/node_modules/fx-runner/node_modules/which/which.js:63:19)
at E (/usr/lib/node_modules/web-ext/node_modules/fx-runner/node_modules/which/which.js:72:29)
at /usr/lib/node_modules/web-ext/node_modules/fx-runner/node_modules/which/which.js:81:16
at /usr/lib/node_modules/web-ext/node_modules/fx-runner/node_modules/isexe/index.js:44:5
at /usr/lib/node_modules/web-ext/node_modules/fx-runner/node_modules/isexe/access.js:8:5
at FSReqCallback.oncomplete (node:fs:188:23)
我想这是因为我没有 Firefox,而是 Firefox Developer Edition。
如何使其与 Firefox 开发者版兼容?