electron-api-demos
electron-api-demos copied to clipboard
Can't install on mac m1
-
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
try to upgrade dependencies: "spectron" : "^13.0.0" "electron-packager": "^15.2.0" "electron": "^11.2.1"
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.

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"
}
It's true that I have the same problem
Any workaround for M1?
+1
Same problem, m1
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.
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 .
+1
Any solutions for this? Same issue on M1 Max
Yep also same issue.
I am also looking for a solution for this exact issue!
ok, this is what worked for me:
https://stackoverflow.com/questions/37884130/electron-remote-is-undefined
[Mickey]已经收到了,谢谢