I am trying to deploy an adonisjs api but I am having problems with https.
I am following the instructions from here, but without any luck.
I am getting the following exception when I try to start the app
RuntimeException: E_CANNOT_SWAP_SERVER: Attempt to hot swap http instance failed. Make sure to call Server.setInstance before starting the http server
I am using also
pm2 to start the application