Answer the question
In order to leave comments, you need to log in
Create react app npm start command doesn't open browser tab, how to fix?
Tried on two computers. One opened and the other didn't. I will work on both, so I need to fix it. In the console I enter npm start. The command seems to run successfully, but the tab does not open. Thank you in advance for your response
Answer the question
In order to leave comments, you need to log in
It was possible to disable this function in .env with the BROWSER=none flag, then the window opening function did not work (no matter how annoying), dig webpack settings.
Or - create a new cra project, in the Windows panel try to change the default browser to some other one in order to accurately track down the problem: a) a problem with cra b) a problem with Windows.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question