无法通过 web-ext 验证 firefox 插件
Cannot validate firefox addon via web-ext
我正在尝试使用 web-ext 签署我的 firefox 扩展的第二个版本,但我一直收到此错误
Your add-on failed validation and could not be signed
FAIL
WebExtError: The extension could not be signed
at _callee$ (C:\Users\sofie\AppData\Roaming\npm\node_modules\web-ext\dist\webpack:\src\cmd\sign.js:134:15)
at tryCatch (C:\Users\sofie\AppData\Roaming\npm\node_modules\web-ext\node_modules\regenerator-runtime\runtime.js:62:40)
at Generator.invoke [as _invoke] (C:\Users\sofie\AppData\Roaming\npm\node_modules\web-ext\node_modules\regenerator-runtime\runtime.js:296:22)
at Generator.prototype.(anonymous function) [as next] (C:\Users\sofie\AppData\Roaming\npm\node_modules\web-ext\node_modules\regenerator-runtime\runtime.js:114:21)
at step (C:\Users\sofie\AppData\Roaming\npm\node_modules\web-ext\dist\webpack:\node_modules\babel-runtime\helpers\asyncToGenerator.js:17:1)
at C:\Users\sofie\AppData\Roaming\npm\node_modules\web-ext\dist\webpack:\node_modules\babel-runtime\helpers\asyncToGenerator.js:28:1
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
我不明白为什么会这样,因为我第一次尝试签名时就成功了。
PS : 我已经在我的 manifest.json 脚本中写了一个新版本
有人可以帮我吗?
在 "Your add on failed..." 行上方,您是否得到这样的一行?:
验证结果:https://addons.mozilla.org/en-US/developers/upload/.....
我有同样的错误信息,然后 link 向我展示了失败原因的详细分析。我的错误是我有一个名为 Translator.js 的文件,但在清单中它被列为 translator.js,请注意大小写。重命名后,签名成功
如果你在 windows 试试:
- 运行 以管理员身份执行命令。
- 运行 不使用批处理文件签署命令
我正在尝试使用 web-ext 签署我的 firefox 扩展的第二个版本,但我一直收到此错误
Your add-on failed validation and could not be signed
FAIL
WebExtError: The extension could not be signed
at _callee$ (C:\Users\sofie\AppData\Roaming\npm\node_modules\web-ext\dist\webpack:\src\cmd\sign.js:134:15)
at tryCatch (C:\Users\sofie\AppData\Roaming\npm\node_modules\web-ext\node_modules\regenerator-runtime\runtime.js:62:40)
at Generator.invoke [as _invoke] (C:\Users\sofie\AppData\Roaming\npm\node_modules\web-ext\node_modules\regenerator-runtime\runtime.js:296:22)
at Generator.prototype.(anonymous function) [as next] (C:\Users\sofie\AppData\Roaming\npm\node_modules\web-ext\node_modules\regenerator-runtime\runtime.js:114:21)
at step (C:\Users\sofie\AppData\Roaming\npm\node_modules\web-ext\dist\webpack:\node_modules\babel-runtime\helpers\asyncToGenerator.js:17:1)
at C:\Users\sofie\AppData\Roaming\npm\node_modules\web-ext\dist\webpack:\node_modules\babel-runtime\helpers\asyncToGenerator.js:28:1
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
我不明白为什么会这样,因为我第一次尝试签名时就成功了。 PS : 我已经在我的 manifest.json 脚本中写了一个新版本 有人可以帮我吗?
在 "Your add on failed..." 行上方,您是否得到这样的一行?: 验证结果:https://addons.mozilla.org/en-US/developers/upload/.....
我有同样的错误信息,然后 link 向我展示了失败原因的详细分析。我的错误是我有一个名为 Translator.js 的文件,但在清单中它被列为 translator.js,请注意大小写。重命名后,签名成功
如果你在 windows 试试:
- 运行 以管理员身份执行命令。
- 运行 不使用批处理文件签署命令