nvm use 12.20.1
jabba use openjdk@1.11.0
cd functions
npm run build
cd ..
firebase emulators:start --import=./firebase-emulator --export-on-exit
If the app randomly crashes with "Local module descriptor class for providerinstaller not found", make sure that all the necessary Firebase collections exist. See flutter/flutter#66261