I am having this same problem as well and when I run the above command it did not fix the pm2 start env command from above it did not fix it even temporarily ... I uninstalled and re-installed it as well ... guess I might have to just leave it uninstalled for awhile