electron-api-demos icon indicating copy to clipboard operation
electron-api-demos copied to clipboard

Can't install on mac m1

Open e1732a364fed opened this issue 4 years ago • 14 comments

  • 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

e1732a364fed avatar Jan 16 '21 00:01 e1732a364fed

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

kevin-zx avatar Feb 03 '21 01:02 kevin-zx

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"
}

jassler avatar Mar 19 '21 08:03 jassler

It's true that I have the same problem

Mrxyy avatar May 14 '21 02:05 Mrxyy

Any workaround for M1?

SaadBilal avatar May 19 '21 15:05 SaadBilal

+1

vishalgoel avatar Jul 01 '21 09:07 vishalgoel

Same problem, m1

denostr avatar Jul 21 '21 17:07 denostr

Go unix--Sent from my Android phone with mail.com Mail. Please excuse my brevity.On 7/21/21, 1:33 PM Denis Ostrovsky @.***> wrote:

Same problem, m1 —You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.

Zero21102 avatar Jul 22 '21 01:07 Zero21102

El El mié, jul. 21, 2021 a la(s) 8:20 p. m., Zero21102 < @.***> escribió:

Go unix--Sent from my Android phone with mail.com Mail. Please excuse my brevity.On 7/21/21, 1:33 PM Denis Ostrovsky @.***> wrote:

Same problem, m1 —You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/electron/electron-api-demos/issues/485#issuecomment-884597966, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUNI3NDNDBIKCZTN7PLGLJDTY5W4TANCNFSM4WEY7ETQ .

estelanova avatar Jul 28 '21 11:07 estelanova

+1 image

bwangll avatar Oct 11 '21 08:10 bwangll

Any solutions for this? Same issue on M1 Max

eugenedw avatar Jan 31 '22 23:01 eugenedw

Yep also same issue.

chris-pollard avatar Feb 01 '22 00:02 chris-pollard

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

swethakunda avatar Feb 01 '22 05:02 swethakunda

ok, this is what worked for me:

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

swethakunda avatar Feb 01 '22 23:02 swethakunda

[Mickey]已经收到了,谢谢

miki-long avatar Nov 06 '22 11:11 miki-long