On macOS, you might need:
npm config set python /usr/bin/python
This ensure Python 2, as needed by node-gyp, as used by "npm install java"
npm install
./node_modules/.bin/electron-rebuild
node ./node_modules/java/postInstall.js
./node_modules/.bin/node-java-maven
npm start