question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

crxToZip Error: Invalid header: Does not start with Cr24

See original GitHub issue

Prerequisites

  • [1 ] Using yarn
  • [1 ] Using an up-to-date master branch
  • [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:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

14reactions
uloucommented, Nov 19, 2020

Bumping up electron-devtools-installer to ^3.1.1 solved the problem.

8reactions
MatthewEppelsheimercommented, Nov 17, 2020

@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-installer version to ^3.1.1 in 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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Vue Devtools Not Loading With Vue Electron Builder
I came across this Github issue, but my versions of Electron and vue-cli-plugin-electron are higher, and already include the updated code that ...
Read more >
Sample of Fully Customized SDK for windows is getting failed
init domain is https://www.zoom.us initialize 2. Uncaught (in promise) Error: Invalid header: Does not start with Cr24 at crxToZip ...
Read more >
Error: Invalid header: Does not start with Cr24 #1469 - bytemeta
Describe the bug. Unable to compile. $ npm run electron:serve Uncaught (in promise) Error: Invalid header: Does not start with Cr24 "dependencies": {...
Read more >
https://git.adens.cn/wangdingchen/AdensOnContainer...
"endsPattern": "Not launching electron as debug argument was passed\\. ... 52) {\n throw new Error(\"Invalid header: Does not start with Cr24\");\n }\n\n ...
Read more >
PicGo:免费搭建个人图床 - 知乎专栏
在运行picgo项目的时候报了这个错Launching Electron...Uncaught (in promise) Error: Invalid header: Does not start with Cr24 at crxToZip (webpack:///.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found