Skip to content

Instantly share code, notes, and snippets.

@vxhviet
Last active February 22, 2019 15:58
Show Gist options
  • Save vxhviet/23cdd4af9fab5400ddd98f5a1c4f80aa to your computer and use it in GitHub Desktop.
Save vxhviet/23cdd4af9fab5400ddd98f5a1c4f80aa to your computer and use it in GitHub Desktop.

Fix Firebase Function Cannot Start Emulator Error

SOURCE

# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment