crxToZip Error: Invalid header: Does not start with Cr24
See original GitHub issuePrerequisites
- [1 ] Using yarn
- [1 ] Using an up-to-date
masterbranch - [1 ] Using latest version of devtools. Check the docs for how to update
- [ 1] Tried solutions mentioned in #400
- [1 ] For issue in production release, add devtools output of
DEBUG_PROD=true yarn build && yarn start
Expected Behavior
App runs with zero warnings/Errors while in development mode
Current Behavior
App runs with this error:
Error: Invalid header: Does not start with Cr24 at crxToZip (W:\devp\electron\stark\node_modules\unzip-crx\dist\index.js:32:15) at W:\devp\electron\stark\node_modules\unzip-crx\dist\index.js:57:32 at callHanler (W:\devp\electron\stark\node_modules\yaku\lib\yaku.js:719:16) at tryCatcher (W:\devp\electron\stark\node_modules\yaku\lib\yaku.js:436:32) at W:\devp\electron\stark\node_modules\yaku\lib\yaku.js:575:38 at flush (W:\devp\electron\stark\node_modules\yaku\lib\yaku.js:478:17) at processTicksAndRejections (internal/process/task_queues.js:76:11)
Context
This error has not affected the app in any way so far. However, i have not made any changes to ERB code base.
Your Environment
- Node version : v12.16.1
- electron-react-boilerplate version or branch : 1.3.0
- Operating System and version : Windows 10 release 10.0.18362
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:6 (1 by maintainers)

Top Related StackOverflow Question
Bumping up
electron-devtools-installerto^3.1.1solved the problem.@amilajack Hey I just ran into this myself. The same fix worked, but I’m wondering is there’s any reason not to just bump the
electron-devtools-installerversion to^3.1.1in this repo’s package.json. It seems that a handful of folks are running into this, and updating the dependency would save others having to track this down. I’m happy to send a PR for this if you’d like.