0👍
✅
Found a somewhat hacky fix. In node_modules/@vue/cli-service/lib/commands/serve.js there is this line that defines the port it is like:
const port = await portfinder.getPortPromise()
I have changed it to
const port = args.port || process.env.PORT || projectDevServerOptions.port
Now everything loads well. Don’t know why they choose that approach and if there is a better way to handle this i’d like to know.
Source:stackexchange.com