# Fix Firebase Function Cannot Start Emulator Error
[SOURCE](https://github.com/firebase/firebase-tools/issues/552#issuecomment-424683151)
```
# install current working directory dependencies
yarn --ignore-engines
# install firebase-tools if u didn't
yarn global add firebase-tools
# install functions-emulator
yarn global add @google-cloud/functions-emulator --ignore-engines
```
## Update firebase CLI:
Use the same command as installing:
```
yarn global add firebase-tools
```
If you encounter the node version problem, use this:
```
yarn global add firebase-tools --ignore-engines
```