packing chrome extension from the command line issue

508 views
Skip to first unread message

yoad gadot

unread,
Dec 17, 2023, 3:59:12 AM12/17/23
to Chromium Extensions

I'm currently facing an issue while attempting to pack my Chrome extension and generate a .crx file using the command line. I've executed the following command:

chrome.exe --pack-extension=C:\Users\YoadGadot\Desktop\test_uglify\src --pack-extension-key=C:\Users\YoadGadot\Desktop\test_uglify\ClearMash_ExternalClient.pem

I've ensured that the paths to the extension and the private key are correct, and there are no errors reported. However, the problem is that no .crx file is generated in the specified directory.

I'm wondering if this might be a bug in Chrome version 120. Has anyone else encountered a similar issue, or is there a recommended solution to resolve this problem? Your insights and assistance would be greatly appreciated.

Anu Kuruvilla

unread,
Dec 17, 2023, 4:59:17 AM12/17/23
to yoad gadot, Chromium Extensions
Yes, this is a bug that we noticed couple of versions back. I think I saw a bug I'd associated with this as well.  We were using crx for automation. We changed that for now to directly using command line arg to load extension in chrome in our automation for now. If you are using crx for same reason, you may try as we did.

Thanks
Anu 

--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/d0a0c12e-c0a0-4a46-afb0-dc406890ba36n%40chromium.org.

wOxxOm

unread,
Dec 17, 2023, 7:51:02 AM12/17/23
to Chromium Extensions, Anu Kuruvilla, Chromium Extensions, yoad gadot
It's https://crbug.com/1498558 which should be fixed in the new Chrome 120 build 110 that was just released and in newer channels like Chrome Canary which you can install separately.
Reply all
Reply to author
Forward
0 new messages