https://github.com/nuxt/nuxtjs.org/tree/dev
Open any nuxt project and run dev. This will then use port of 3000. Then open a project that uses v2.13 and run generate which will use nuxt build and nuxt export. As port 3000 is already taken you cannot generate your site unless you close the other port.
should generate a random port if port is in use
Nuxt Fatal error

cc @hecktarzuli
Fixed with v2.13.2
How can the random port be retrieved?
Hi @andre-brdoch You may use both nuxt.server.listeners or use nuxt.hook('listen', (server, listener) => {})
If wanted more details would be appreciated making a new issue with usage example :)