skip to Main Content

PM2 with NodeJS crash after few minutes and restart in loop – Debian

I have a NodeJs+Express+Mongodb app and I'm trying to run it on my vps. I do : pm2 start server [PM2] Applying action restartProcessId on app [server](ids: [ 1 ]) [PM2] [server](1) ✓ [PM2] Process successfully started ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐ │ id…

VIEW QUESTION

shopify uninstall app webhook is not working

In my server.js file, I register the app/uninstalled webhook inside the afterAuth function like this: const response = await Shopify.Webhooks.Registry.register({ shop, accessToken, path: "/webhooks", topic: "APP_UNINSTALLED", apiVersion: ApiVersion.October20, webhookHandler: (topic, shop, body) => { //console.log(topic, shop,body); delete ACTIVE_SHOPIFY_SHOPS[shop]; }, });…

VIEW QUESTION
Back To Top
Search