PM2 module update error

I had the same problem
I found this thread and it is solved…