VIR
VIR copied to clipboard
Can't seem to install it (npm i)
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
It could be due to the reason you said. Does the prebuilt binary work?
I can confirm that the pre-built binary works on the MacBook Air M1. It runs the intel version non-natively through Rosetta.

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