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

Error: Invalid header: Does not start with Cr24 #165

Open
thedoublejay opened this issue Jan 14, 2021 · 5 comments
Open

Error: Invalid header: Does not start with Cr24 #165

thedoublejay opened this issue Jan 14, 2021 · 5 comments

Comments

@thedoublejay
Copy link

thedoublejay commented Jan 14, 2021

Issue Details

  • Electron Version:
    • 11.2.0
  • Operating System:
    • Windows 20H2
  • Last Known Working Electron version:
    • 11.1.1

Expected Behavior

Using the latest Electron 11.2.0 build, with electron-devtools-installer 3.1.1, the app should build successfully.

Actual Behavior

Using the latest Electron 11.2.0 build, with electron-devtools-installer 3.1.1, the build fails. There's an error Error: Invalid header: Does not start with Cr24 when running the build. Previously using Electron 11.1.1, this error is also displayed but the build still works. It breaks with Redux Dev Tools and React Dev Tools.

Screenshots

image

@GiovaniBiagi
Copy link

having the same issue, any workaround ?

@BlackHole1
Copy link
Contributor

BlackHole1 commented Mar 18, 2021

@thedoublejay @GiovaniBiagi I submitted a fixed PR for this issue and I am now waiting for the merge: #177

This method can be used to temporarily solve this problem:

yarn add electron-devtools-installer@git://github.com/BlackHole1/electron-devtools-installer#d2aef8692a6b3d797ec1aa9b1b24092e7461fb63 -D

@BlackHole1
Copy link
Contributor

But there are some errors in your picture. This PR may not have been fixed yet. Can you tell me which plugins are installed that caused the error?

eg: Permission 'notifications' is unknown or URL pattern is malformed.

@Zyles
Copy link

Zyles commented Jul 9, 2021

@thedoublejay @GiovaniBiagi I submitted a fixed PR for this issue and I am now waiting for the merge: #177

This method can be used to temporarily solve this problem:

yarn add electron-devtools-installer@git://github.com/BlackHole1/electron-devtools-installer#d2aef8692a6b3d797ec1aa9b1b24092e7461fb63 -D

Does not work for me. Still unable to compile.
Uncaught (in promise) Error: Invalid header: Does not start with Cr24

  "dependencies": {
    "@keyv/sqlite": "^2.0.2",
    "@mapbox/node-pre-gyp": "^1.0.0",
    "axios": "^0.21.1",
    "axios-cache-adapter": "^2.7.0",
    "axios-retry-interceptor": "^1.1.0",
    "cachios": "^2.2.5",
    "core-js": "^3.9.0",
    "electron-oauth-helper": "^5.0.1",
    "electron-store": "^7.0.2",
    "keyv": "^4.0.3",
    "lodash": "^4.17.21",
    "material-design-icons-iconfont": "^5.0.1",
    "moment": "^2.29.1",
    "node-fetch": "^2.6.0",
    "numeral": "^2.0.6",
    "retry-axios": "^2.4.0",
    "sqlite": "^4.0.19",
    "sqlite3": "5.0.0",
    "uniqid": "^5.3.0",
    "validate.js": "^0.13.1",
    "vue": "^2.6.12",
    "vue-router": "^3.5.1",
    "vuetify": "^2.4.4",
    "vuex": "^3.6.2",
    "vuex-electron": "^1.0.3"
  },
  "devDependencies": {
    "@babel/cli": "^7.12.17",
    "@babel/core": "^7.12.17",
    "@babel/eslint-parser": "^7.12.17",
    "@babel/node": "^7.12.17",
    "@babel/plugin-proposal-optional-chaining": "^7.12.17",
    "@vue/cli-plugin-babel": "^3.12.1",
    "@vue/cli-plugin-eslint": "^3.12.1",
    "@vue/cli-service": "^3.12.1",
    "electron": "^11.3.0",
    "electron-builder": "^22.9.1",
    "electron-devtools-installer": "git://github.com/BlackHole1/electron-devtools-installer.git#d2aef8692a6b3d797ec1aa9b1b24092e7461fb63",
    "eslint": "^7.20.0",
    "eslint-config-standard": "^16.0.2",
    "eslint-plugin-html": "^6.1.1",
    "eslint-plugin-import": "^2.22.1",
    "eslint-plugin-node": "^11.1.0",
    "eslint-plugin-promise": "^4.3.1",
    "eslint-plugin-vue": "^7.6.0",
    "sass": "^1.32.8",
    "sass-loader": "^10.1.1",
    "vue-cli-plugin-electron-builder": "^1.4.6",
    "vue-cli-plugin-vuetify": "^0.6.3",
    "vue-template-compiler": "^2.6.12",
    "vuetify-loader": "^1.7.2"
  }

@vedmant
Copy link

vedmant commented Dec 18, 2023

Having the same issue, what's the fix?

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

5 participants