FetchError: socket hand up during Nuxt generation

Please take a look at this similar thread. This type of error are specific to each project code, but it might give you an idea of where you can start troubleshooting the error while generating the project again: