From 4aa9771a333e0cd29db30bfd76eef93f5b0a66e1 Mon Sep 17 00:00:00 2001 From: "nasir@endelospay.com" Date: Fri, 22 Aug 2025 02:04:22 +0500 Subject: [PATCH] fix: rename ecosystem config to .cjs for PM2 compatibility - Rename ecosystem.config.js to ecosystem.config.cjs to resolve ES module issues - PM2 now successfully starts and manages the remote server process - Server confirmed running on port 3040 with all endpoints operational --- .../{ecosystem.config.js => ecosystem.config.cjs} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) rename app/remote-server/{ecosystem.config.js => ecosystem.config.cjs} (97%) diff --git a/app/remote-server/ecosystem.config.js b/app/remote-server/ecosystem.config.cjs similarity index 97% rename from app/remote-server/ecosystem.config.js rename to app/remote-server/ecosystem.config.cjs index b1ea26a..670dd3c 100644 --- a/app/remote-server/ecosystem.config.js +++ b/app/remote-server/ecosystem.config.cjs @@ -2,8 +2,7 @@ module.exports = { apps: [ { name: 'mcp-remote-server', - script: 'npm', - args: 'run start:server', + script: 'dist/index.js', cwd: __dirname, instances: 1, autorestart: true,