firebase / firebase/firebase-tools-ui

Firebase Emulator UI fails to start with Error: spawn node ENOENT

Open
#1,032 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
291
Forks
74
PR merge metrics
No merged PRs in 30d

Description

Note: Before filing bugs in this repo, please ensure that this is a bug for the Emulator Suite UI. Emulator Suite and/or Firebase CLI bugs should be filed under the firebase-tools repo here:
https://github.com/firebase/firebase-tools/issues/new/choose

**Describe the bug**
When attempting to start the Firebase emulators using the `firebase emulators:start` command, the process fails with the error message `Emulator UI has exited: Error: spawn node ENOENT`. This error occurs even when only a single emulator is started with the `--only` flag.

**To Reproduce**
Steps to reproduce the behavior:

1. Run the command `firebase emulators:start` after initializing firebase project and downloading emulators
2. See error

**Expected behavior**
Expected to be able to access emulator ports

**Screenshots**
![image](https://github.com/firebase/firebase-tools-ui/assets/81710174/eca5d8f7-8f56-4149-bd58-15b30a201f0e)

**Desktop (please complete the following information):**

- OS: Windows
- Browser: Chrome
- Version: Windows 11

**Smartphone (please complete the following information):** N/A

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
I have ensured that the Node.js path is set to my system's PATH environment variable, I have reinstalled Node.js with the same version that Firebase uses and have even tried running the emulators separately.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.