npm init
npm run react-start
- Mac:
npm run electron-dev-mac
(in second terminal) - Windows:
npm run react-build-win
(in second terminal)
npm install node-gyp -g
node-gyp rebuild
- This will rebuild the video.node module for the electron version
./node_modules/.bin/electron-rebuild
- Mac only: If there is a warning "... was built for newer macOS version (12.0) than being linked (11.0)" then do
export LDFLAGS="-mmacosx-version-min=12.0"