I am currently trying to fix:
[nodemon] app crashed - waiting for file changes before starting...
One solution was to run pkill -f node but that is a macOS-specific thing. Any suggestions?
You can use taskkill as suggested in the comments. Use an asterisk for a partial name of a process. For example, to kill all python scripts:
taskkill -f -im python*
And in your case, the solution can look like:
taskkill -f -im node*
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With