I have a simple command that works fine when run:
parse-dashboard --config /home/ubuntu/dash/config.json
However, when running it with pm2, it doesn't work:
pm2 start parse-dashboard -- --config=/home/ubuntu/dash/config.json
looking at the logs, i get the error:
node: bad option: --config=/home/ubuntu/dash/config.json
What am I doing wrong?