Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error after removing the package from my local laotop #7

Open
betimer opened this issue Jun 19, 2017 · 2 comments
Open

Getting error after removing the package from my local laotop #7

betimer opened this issue Jun 19, 2017 · 2 comments

Comments

@betimer
Copy link

betimer commented Jun 19, 2017

image

@joehiggs
Copy link

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 .

@anselanza
Copy link

Shouldn't this be run on npm uninstall or something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants