Search code examples
google-chrome-extensioncrx

"Chrome extension throws CRX file Error "CRX_REQUIRD_PROOF_MISSING"


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.


Solution

  • 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