"Chrome扩展程序抛出CRX文件错误""CRX_REQUIRD_PROOF_MISSING"; [英] "Chrome extension throws CRX file Error "CRX_REQUIRD_PROOF_MISSING"
问题描述
我拥有Chrome扩展程序,并使用开发人员模式创建了crx
文件.我将crx
文件上传到一些内部URL(www.xyz.com/internal.crx).
每当我尝试使用URL安装扩展名(不在开发人员模式下)时,都会引发错误软件包无效:
CRX_REQUIRD_PROOF_MISSING
我在开发人员模式下通过拖放使用的同一CRX
文件,并且工作正常.请帮助内部解决URL下载和安装扩展程序的问题.
在最新版本的Chrome中,仅支持CRX3格式:
重新包装说明 请参阅以下文章,以获取有关如何将Chrome应用和扩展程序重新打包到CRX3中的详细说明格式.
如果您使用开放源代码库来构建扩展,请与该供应商一起验证CRX3支持.另外,您可以使用 https://crx-checker.appspot.com 检查扩展程序的版本并让您的供应商知道.
如果您无法重新打包或无法使用CRX3格式,则可以启用 ExtensionAllowInsecureUpdates 政策.请注意,这只是暂时的解决方法,所有扩展名都必须移至CRX3格式!
M76(2019年7月) 默认情况下,CRX2将被禁用,每个人都应移至CRX3. 作为临时解决方法,可以使用 ExtensionAllowInsecureUpdates 重新启用CRX2. >
(来自 https://www.chromium.org/crx2-deprecation )>
您的选择是:
- 以某种方式用CRX3格式重新打包扩展名,例如使用此 npm程序包
- 使用上述其他建议的解决方案之一
I have Chrome extension and create the crx
file using developer mode. I uploaded the crx
file to some internal url (www.xyz.com/internal.crx).
Whenever i am trying to install the extension with URL (not in developer mode) it is throwing error Package is invalid:
CRX_REQUIRD_PROOF_MISSING
Same CRX
file i used in developer mode with drag and drop and it's working fine. Please help to solve the problem with URL downloading and installing extension internally.
In recent versions of Chrome only CRX3 format is supported:
Instructions for Repackaging Please see the following article for detailed instructions on how to repackage Chrome apps and extensions into the CRX3 format.
If you use an open source library to build extensions please verify CRX3 support with that vendor. In addition you can use https://crx-checker.appspot.com to check the version of your extension and let your vendor know.
If you are unable to repackage or cannot use the CRX3 format, you can enable the ExtensionAllowInsecureUpdates policy. Note that this is only a temporary workaround, all extensions must move to the CRX3 format!
M76 (July 2019) By default, CRX2 will be disabled and everyone should move to CRX3. As a temporary workaround, ExtensionAllowInsecureUpdates can be used to re-enable CRX2.
(from https://www.chromium.org/crx2-deprecation)
Your options are:
- Repack the extension in CRX3 format in some way or another, for example with this npm package.
- Use one of the other suggested solutions above
这篇关于"Chrome扩展程序抛出CRX文件错误""CRX_REQUIRD_PROOF_MISSING";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!