如何解决Firebase CLI:提取远程配置时,[object Object]不是Firebase命令
我开始使用Firebase CLI从Firebase中提取remoteconfig,但是抛出以下错误:
[error] Error: [object Object] is not a Firebase command
[debug] [2020-10-27T08:23:32.761Z] TypeError: str.toLowerCase is not a function
at didYouMean (/usr/local/lib/node_modules/firebase-tools/node_modules/didyoumean/didYouMean-1.2.1.js:147:48)
at suggestCommands (/usr/local/lib/node_modules/firebase-tools/lib/index.js:28:22)
at Command.<anonymous> (/usr/local/lib/node_modules/firebase-tools/lib/index.js:57:14)
at Command.listener (/usr/local/lib/node_modules/firebase-tools/node_modules/commander/index.js:370:29)
at Command.emit (events.js:315:20)
at Command.EventEmitter.emit (domain.js:483:12)
at Command.parseArgs (/usr/local/lib/node_modules/firebase-tools/node_modules/commander/index.js:894:12)
at Command.parse (/usr/local/lib/node_modules/firebase-tools/node_modules/commander/index.js:642:21)
at Object.<anonymous> (/usr/local/lib/node_modules/firebase-tools/lib/bin/firebase.js:98:22)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47
[error]
[error] Error: An unexpected error has occurred.
我使用的命令是docs中提供的firebase remoteconfig:versions:list
,并且我正在使用Firebase CLI 7.8.0
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。