VIR icon indicating copy to clipboard operation
VIR copied to clipboard

Can't seem to install it (npm i)

Open theodorDiaconu opened this issue 2 years ago • 3 comments

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

theodorDiaconu avatar Jul 05 '21 04:07 theodorDiaconu

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

TommyX12 avatar Jul 05 '21 19:07 TommyX12

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

image

KaiPrince avatar Nov 19 '21 16:11 KaiPrince

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

idodidodi avatar Jun 27 '22 17:06 idodidodi