kill a process in windows 10 code example
Example 1: windows kill port
netstat -ano | findstr :3001
taskkill /PID <yourid> /F
Example 2: kill node process windows
taskkill /im node.exe /F
netstat -ano | findstr :3001
taskkill /PID <yourid> /F
taskkill /im node.exe /F