DEV Community

TK
TK

Posted on

Firebase emulatos: UI doesn't work!!

Hellow!!
I'm trying to develop REST API with CloudRun and Firestore, and I need to firestore emulator. So I was trying to use firebase-tools. But It occurs error like below.

// This is firebase-debug.log

u [FetchError]: request to http://localhost:4400/emulators failed, reason: connect ECONNREFUSED ::1:4400
    at ClientRequest.<anonymous> (/Users/thikashi/.cache/firebase/emulators/ui-v1.7.0/server.bundle.js:326:16909)
    at ClientRequest.emit (node:events:513:28)
    at Socket.socketErrorListener (node:_http_client:481:9)
    at Socket.emit (node:events:513:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  type: 'system',
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED'
}
Enter fullscreen mode Exit fullscreen mode
// This is console

Emulator UI has exited upon receiving signal: SIGINT

Enter fullscreen mode Exit fullscreen mode

In my case, I was using node.js ver 18, and I have changed to ver.16. It works well!!

The problems took 3 hours... ... OMG.

Top comments (0)