Error on starting React App

I’m getting this problem on starting fresh react app

node:events:368
      throw er; // Unhandled 'error' event
      ^

Error: spawn firefox ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
    at onErrorNT (node:internal/child_process:475:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted 'error' event on ChildProcess instance at:
    at Process.ChildProcess._handle.onexit (node:internal/child_process:288:12)
    at onErrorNT (node:internal/child_process:475:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'spawn firefox',
  path: 'firefox',
  spawnargs: [ 'http://localhost:3000' ]
}

On what command is this error appearing?

npm start command for launching react project

Do you have Firefox installed?

ENOENT is short for Error NO ENTry which means some entry is missing. I’m guessing you had Firefox as your default browser, and you have uninstalled it.

If that is the case, try changing your default browser, delete node_modules, run npm install and try again

No, i don’t have firefox installed& my default browser is set to brave

what about try on Google chrome, set google chrome as the default browser? is it error as well?