I just upgraded from v1.16.5 to v1.17.0 and electron's no longer starting up with npm start; I just get the Usage: list of options. I thought this might be a function of my somewhat complicated build process but the error occurs in my clone of the basic open-stage-control repo.
Yes, started with npm install, eventually npm ci, yes, used npm start and fiddled with variations on using electron directly. Spent the whole day on this, I'm assuming it's a problem with my MacBook Pro. Had no choice but to download the prebuilt MacOS version as I have a performance in a few days.
Just to close this out for anyone coming along later. I don't believe that the upgrade had anything to do with the problems I reported and now that I have a few weeks break between performances I'm going to wipe and reinstall everything on my overworked old MacBook Pro.
I have the same issue, I'm on OSX Ventura, M2 Mac mini.
Using Node Version 16.0.0, npm version 7.10.0.
cloning repo, running npm install followed by npm run build
no errors encountered, but app doesn't start when running npm start
instead this output:
Summary
> open-stage-control@1.25.1 start
> electron app/
Usage:
Electron [options]
Options:
-s, --send default targets for all widgets (ip: port / domain:
port / midi: port_name pairs) [array]
-l, --load session file to load (.json) [string]
--state state file to load (.state) [string]
-c, --custom-module custom module file to load (.js)
WARNING: custom module can access the file system, use
at your own risk. [string]
-p, --port http port of the server (default to 8080) [number]
-o, --osc-port osc input port (default to --port) [number]
--tcp-port tcp server input port [number]
--tcp-targets tcp servers to connect to (ip: port pairs), does not
substitute for --send [array]
-m, --midi midi router settings [array]
-d, --debug log received osc messages in the console [boolean]
-n, --no-gui disable default gui [boolean]
--fullscreen launch in fullscreen mode (only affects the default
client gui) [boolean]
-t, --theme theme name or path (multiple values allowed) [array]
--client-options client options (opt=value pairs) [array]
--disable-vsync disable gui's vertical synchronization [boolean]
--force-gpu ignore chrome's gpu blacklist [boolean]
--read-only disable session editing and session history changes
[boolean]
--remote-saving disable remote session saving for hosts that don't
match the regular expression [string]
--remote-root set remote file browsing root folder [string]
--authentication restrict access to "user:password" (remote clients will
be prompted for these credentials) [string]
--instance-name used to differentiate multiple instances in a zeroconf
network [string]
--use-ssl set to true to use HTTPS protocol instead of HTTP (a
self-signed certificate will be created) [boolean]
--disable-gpu disable hardware acceleration [boolean]
--inspect enable node/electron inspector [boolean]
--cache-dir override default cache directory [string]
--config-file override default config file (defaults to
cache-dir/config.json) [string]
--docs serve documentation website locally and open it with
the system's default browser [boolean]
--client-position position of the client window ("x,y" pair of integers)
[string]
--client-size size of the client window ("width,height" pair of
integers) [string]
--no-qrcode disable qrcode when the server starts [boolean]
-h, --help Show help [boolean]
-v, --version Show version number [boolean]
Unknown argument: app/