Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught (in promise) Error: Unexpected crx format version number #3

Open
bdavisonhelo opened this issue Sep 20, 2020 · 6 comments
Open

Comments

@bdavisonhelo
Copy link

$ crx-to-xpi /Users/myusername/Downloads/extension_1_4_137_0.crx
Error: Failed to unpack CRX file
Uncaught (in promise) Error: Unexpected crx format version number.
at crxToZip (/usr/local/lib/node_modules/crx-to-xpi/node_modules/unzip-crx/dist/index.js:37:15)
at /usr/local/lib/node_modules/crx-to-xpi/node_modules/unzip-crx/dist/index.js:57:32
at callHanler (/usr/local/lib/node_modules/crx-to-xpi/node_modules/yaku/lib/yaku.js:719:16)
at tryCatcher (/usr/local/lib/node_modules/crx-to-xpi/node_modules/yaku/lib/yaku.js:436:32)
at /usr/local/lib/node_modules/crx-to-xpi/node_modules/yaku/lib/yaku.js:575:38
at flush (/usr/local/lib/node_modules/crx-to-xpi/node_modules/yaku/lib/yaku.js:478:17)
at processTicksAndRejections (internal/process/task_queues.js:75:11)

Any ideas?

@RikisuT
Copy link

RikisuT commented Apr 6, 2021

Same here...

@ghost
Copy link

ghost commented Apr 25, 2022

Same problem still

@skrlst
Copy link

skrlst commented Jun 30, 2022

Same...

@DH-LStudios
Copy link

Same here

@n0-n4-m3
Copy link

same xD

@kevinmost
Copy link

Looks like this is due to crx3 not being supported in the unzip-crx project upstream.

Someone has forked that project and added crx3 support. See: peerigon/unzip-crx#12

Changing the unzip-crx usages in package.json and src/crx-to-xpi.js to unzip-crx-3 should be enough to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants