I try to run the functions emulator with firebase emulators:start and get an error:
❯ firebase emulators:start
i emulators: Starting emulators: functions
⚠ functions: The following emulators are not running, calls to these services from the Functions emulator will affect production: auth, firestore, database, hosting, pubsub, storage
✔ functions: Using node@14 from host.
i ui: Emulator UI logging to ui-debug.log
i functions: Watching "/Users/inlined/git/junkdrawer/functions" for Cloud Functions...
⚠ functions: Cannot find module '/Users/inlined/git/junkdrawer/functions/node_modules/firebase-functions/lib/providers/https'
Require stack:
- /Users/inlined/.nvm/versions/node/v14.16.0/lib/node_modules/firebase-tools/lib/emulator/functionsEmulatorRuntime.js
⚠ Your function was killed because it raised an unhandled error.