pm2
pm2 copied to clipboard
pm2 Not Supported Optional Chaining
What's going wrong?
When I run code using node and nodemon there's no problem using "Optional Chaining". But when I run code using pm2 there's an error showing "Unexpected Token '.'" from "result?.code".
How could we reproduce this issue?
Use an Optional Chaining Operator then run it on pm2.
Supporting information
$ pm2 report
I`m having the same issue but just for Cluster mode.
Does anyone have a workaround?
same here ... any idea how to resolve?
Any resolve for this yet?
Reverted to old checking method for the time being