Can't start jovo on server

amazon-alexa

#1

Hi
What mean this ?

jovo run

I’m setting everything up


#2

Please don’t use jovo run in production, this is only for prototyping on your local machine.

Learn more here: https://www.jovo.tech/docs/hosting/express-js#run-server


#3

it seems not work if i use pm2 with webhook, but seems ok with nodemon

if i make nodemon src/index.js --webhook
is not same cd src && nodemon index.js --webhook

key.pem and cert.pem can’t resolve path correctly.
for fix ,
i use this

  Webhook.ssl = {
    key: fs.readFileSync(__dirname+'/key.pem'),
    cert: fs.readFileSync(__dirname+'/cert.pem'),
 };