Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Can't install on mac m1 #485

Open
e1732a364fed opened this issue Jan 16, 2021 · 14 comments
Open

Can't install on mac m1 #485

e1732a364fed opened this issue Jan 16, 2021 · 14 comments

Comments

@e1732a364fed
Copy link

e1732a364fed commented Jan 16, 2021

  • What operating system are you using?
    mac m1 Mac OS Big Sur 11.1

  • What version of Node.js is on your system?
    v15.5.1

  • My Issue:
    Error occured when running "npm install"

Error: Failed to find Electron v3.0.0 for darwin-arm64 at https://github.com/electron/electron/releases/download/v3.0.0/chromedriver-v3.0.0-darwin-arm64.zip

@kevin-zx
Copy link

kevin-zx commented Feb 3, 2021

try to upgrade dependencies:
"spectron" : "^13.0.0"
"electron-packager": "^15.2.0"
"electron": "^11.2.1"

@jassler
Copy link

jassler commented Mar 19, 2021

Don't know if @kevin-zx solution worked for @hahahrfool, but it did work for me!

Only problem now is that Electron only shows a blank screen. Updating all dependencies to their latest major version also didn't change this.

screenshot of Electron showing a white frame

Dependencies:

"devDependencies": {
  "@octokit/rest": "^18.3.5",
  "chai": "^4.3.4",
  "chai-as-promised": "^7.1.1",
  "check-for-leaks": "^1.2.1",
  "devtron": "^1.4.0",
  "electron-packager": "^15.2.0",
  "electron-winstaller": "^5.0.0",
  "husky": "^5.1.3",
  "mocha": "^8.3.2",
  "npm-run-all": "^4.1.5",
  "request": "^2.70.0",
  "rimraf": "^3.0.2",
  "signcode": "^1.0.0",
  "spectron": "^14.0.0",
  "standard": "^16.0.3",
  "tap": "^14.11.0"
},
"dependencies": {
  "electron": "^12.0.1",
  "electron-log": "^4.3.2",
  "electron-settings": "^4.0.2",
  "electron-shortcut-normalizer": "^1.0.0",
  "glob": "^7.1.6",
  "highlight.js": "^10.6.0",
  "update-electron-app": "^2.0.1"
}

@Mrxyy
Copy link

Mrxyy commented May 14, 2021

It's true that I have the same problem

@SaadBilal
Copy link

Any workaround for M1?

@vishalgoel
Copy link

+1

@denostr
Copy link

denostr commented Jul 21, 2021

Same problem, m1

@Zero21102
Copy link

Zero21102 commented Jul 22, 2021 via email

@estelanova
Copy link

estelanova commented Jul 28, 2021 via email

@bwangll
Copy link

bwangll commented Oct 11, 2021

+1
image

@eugenedw
Copy link

Any solutions for this? Same issue on M1 Max

@chris-pollard
Copy link

Yep also same issue.

@swethakunda
Copy link

I am also looking for a solution for this exact issue!

@swethakunda
Copy link

ok, this is what worked for me:

https://stackoverflow.com/questions/37884130/electron-remote-is-undefined

@miki-long
Copy link

miki-long commented Nov 6, 2022 via email

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

No branches or pull requests