小编Tho*_*din的帖子

找不到模块 '.../lib/providers/https

我尝试运行功能模拟器firebase emulators:start并收到错误消息:

? 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.
Run Code Online (Sandbox Code Playgroud)

firebase firebase-tools google-cloud-functions

5
推荐指数
1
解决办法
80
查看次数