hack-chat / main

a minimal, distraction-free chat application

Home Page:https://hack.chat/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do I uninstall completely

jvZ21 opened this issue · comments

commented
commented

i also deleted all the files in main

Deleting the folder should uninstall it. (npm uninstall would uninstall a specific dependency that hack.chat uses, which isn't what you wanted)
If it is actually still running, it's probably due to pm2 running in the background (which is the default way of running the server). It would have been easier to tell pm2 to stop if the folder was still there, but you can open task manager (if on Windows) or htop (if on Linux) and find the nodejs process that is running pm2 and kill it. Restarting would also work.

commented

when i kill the nodejs it just reappears

commented

if i reinstall the files and then stop the server would that work

If you reinstall, then run npm stop, that should tell pm2 to stop running the server.
Though, if it's reappearing you might be killing the wrong process. (You might be killing the server process, instead of the pm2 process)

commented

i found something called PnkBstrA running, is this it?

Uh, probably not?

commented

i unplugged my computer early, did that turn it off?

commented

i also found out that the pnkbstra is from ubisoft lol

It's probably off by now...

when i kill the nodejs it just reappears

If you've deleted everything in main, then this is likely the pm2 process. pm2 is designed to keep a nodejs app running and manage that app. If you haven't gone through the steps to setup pm2 as a windows service then pm2 will not automatically start.

Deleting everything in the main directory means that you have "uninstalled" the app. If you also want to remove pm2, check for the module in your npm global directory.

However, it sounds like everything is taken care of, so I will go ahead and close this. Feel free to reply if you are still having issues.

commented

thanks!