DEV Community

TK
TK

Posted on

1 1

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.

AWS GenAI LIVE image

Real challenges. Real solutions. Real talk.

From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.

Learn more

Top comments (0)

AWS GenAI LIVE image

Real challenges. Real solutions. Real talk.

From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay