npm stop serve code example Example 1: npm stop react app taskkill -F -IM node.exe Example 2: stop npm server npm run react-scripts start