我对Firebase还是很陌生,但是我接管了vue / firebase项目,并且在部署过程中苦苦挣扎。每当我尝试执行以下操作时:firebase deploy
会出现以下错误:
[debug] [2019-05-05T20:28:21.058Z] TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
at validateString (internal/validators.js:107:11)
at Object.join (path.js:1037:7)
at FunctionsEmulator.start (/usr/local/lib/node_modules/firebase-tools/lib/functionsEmulator.js:88:29)
at Object.start (/usr/local/lib/node_modules/firebase-tools/lib/serve/functions.js:7:33)
at /usr/local/lib/node_modules/firebase-tools/lib/serve/index.js:15:23
at arrayMap (/usr/local/lib/node_modules/firebase-tools/node_modules/lodash/lodash.js:639:23)
at Function.map (/usr/local/lib/node_modules/firebase-tools/node_modules/lodash/lodash.js:9556:14)
at _serve (/usr/local/lib/node_modules/firebase-tools/lib/serve/index.js:13:26)
at Command._action (/usr/local/lib/node_modules/firebase-tools/lib/commands/serve.js:55:12)
at /usr/local/lib/node_modules/firebase-tools/lib/command.js:163:37
[error]
[error] Error: An unexpected error has occurred.
我的本地环境:
节点:v12.1.0
Vue:3.5.0
Firebase-tools:6.8.0
什么可能导致该问题?