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

Can't seem to install it (npm i) #3

Open
theodorDiaconu opened this issue Jul 5, 2021 · 3 comments
Open

Can't seem to install it (npm i) #3

theodorDiaconu opened this issue Jul 5, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@theodorDiaconu
Copy link

Firstly, I have to run it with --force flag as some deps don't work ok.

Could this be related to being on M1 on a Mac?

npm ERR! code 1
npm ERR! path /Users/theodor/Projects/workshops/VIR/node_modules/electron-chromedriver
npm ERR! command failed
npm ERR! command sh -c node ./download-chromedriver.js
npm ERR! node:internal/process/promises:245
npm ERR!           triggerUncaughtException(err, true /* fromPromise */);
npm ERR!           ^
npm ERR! 
npm ERR! GotError [HTTPError]: Response code 404 (Not Found) for https://github.com/electron/electron/releases/download/v10.0.0/chromedriver-v10.0.0-darwin-arm64.zip
@TommyX12
Copy link
Owner

TommyX12 commented Jul 5, 2021

It could be due to the reason you said. Does the prebuilt binary work?

@TommyX12 TommyX12 added the bug Something isn't working label Jul 6, 2021
@KaiPrince KaiPrince mentioned this issue Nov 19, 2021
5 tasks
@KaiPrince
Copy link
Contributor

I can confirm that the pre-built binary works on the MacBook Air M1.
It runs the intel version non-natively through Rosetta.

image

@idodidodi
Copy link

I had the same issue with the exact error of @theodorDiaconu , indeed updating spectron and electron did the trick.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants