Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

After running npm start command line doesn't work

I'm hoping others have had this issue before.. I used npm start in the terminal to run my react project which opens through localhost:3000 fine, but then any following commands I write in the terminal don't execute! I want to be able to use initialise my project through npm start, make changes in my text editor then commit the changes to GitHub through the terminal. Any help would be greatly appreciated! Thanks

like image 258
BJones100 Avatar asked Oct 29 '25 12:10

BJones100


1 Answers

If you are using create-react-app npm start will trigger hot-reload server at localhost:3000 and your currently opened terminal window will be running this process in the background mode. To stop it use cmd/ctrl + c or just simply open another terminal window to be able to install packages or do other tasks in the same folder.

like image 152
Dimitry Ivashchuk Avatar answered Nov 01 '25 14:11

Dimitry Ivashchuk



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!