forge
forge copied to clipboard
error port::3000 on webpack plugin set template with VSCode
Pre-flight checklist
- [X] I have read the contribution documentation for this project.
- [X] I agree to follow the code of conduct that this project uses.
- [X] I have searched the issue tracker for a bug that matches the one I want to file, without success.
Electron Forge version
6.1.1
Electron version
24.2.0
Operating system
Ubuntu 22.04.2
Last known working Electron Forge version
6.1.1
Expected behavior
I was hoping that the npm start command would work well with the template
Actual behavior
error when trying to start the node js server on port 3000 already occupied by visualstudio code plugins
Steps to reproduce
use the commands npm init electron-app@latest my-new-app -- --template=webpack in visual studio code with the webview preview plugin and use the prugin in an html destro of the code then run npm start
Additional information
My suggestion is to be able to manipulate the port in which the nodejs server will run for the electron-forge/plugin-webpack, since this is the cause of the problem, it could be manual entry or automatic selection when trying to occupy the port. thank you