If the user is using port 3000, the React SPA will not work and in the Electron main.js file will not find the content for the application.
Suggested changes: change the port in window.loadURL() to a variable in the config file and change the start script and the build script, in the package-lock file to reference that port number.
If the user is using port 3000, the React SPA will not work and in the Electron main.js file will not find the content for the application.
Suggested changes: change the port in window.loadURL() to a variable in the config file and change the start script and the build script, in the package-lock file to reference that port number.
temp fix :
code/scouting-hub/electron/main.js
line: 21 change port to 3006
code/scouting-hub/src/package.json line: 21 add cross-env PORT=3006 line: 26 change to 3006