Instead of using module.exports = { } use
module.exports = { }
export default { /*Config Contents*/ };
This may possibly cause internal issue with pm2's loader, in which case
export { /*Config Contents*/ };
Should suffice.