Open betimer opened 7 years ago
node-pm2-windows-startup
has a dependency node-start-on-windows-boot
which restarts pm2 on startup by editing the registry. The error is popping up because node-pm2-windows-startup
is gone, but the registry change still exists. The registry change is looking for a file in the now uninstalled node-pm2-windows-startup
folder. To fix this, we need to remove the change to the Windows registry. First, open regedit
by searching regedit
in the Windows search bar. Next, scroll down to the bottom and select HKEY_CURRENT_USER
, then follow this path: \\Software\\Microsoft\\Windows\\CurrentVersion\\Run
. In the Run
folder, you should see a REG_SZ named PM2 or something similar. Just delete this, then problem solved.
I found this because of the reasons described in this issue I submitted .
Shouldn't this be run on npm uninstall
or something?