Unable to install module pm2: - Failed to run installation scripts

I reported this as a bug. This was resolved with the timely release of a new update that corrected a json error issue (in python??) Then I had to run the commands Mbrooks suggested and reboot. All was well after that.