pm2 icon indicating copy to clipboard operation
pm2 copied to clipboard

pm2 Not Supported Optional Chaining

Open digital-mets opened this issue 3 years ago • 4 comments

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

digital-mets avatar Mar 09 '21 05:03 digital-mets

I`m having the same issue but just for Cluster mode.

Does anyone have a workaround?

thilook avatar Jan 19 '22 03:01 thilook

same here ... any idea how to resolve?

petr-hybler avatar Feb 19 '22 09:02 petr-hybler

Any resolve for this yet?

alienbuild avatar Sep 12 '22 21:09 alienbuild

Reverted to old checking method for the time being

alienbuild avatar Sep 13 '22 11:09 alienbuild