firebase - 即使 firebase init 命令有效,firebase deploy 也不起作用
问题描述
我是编程新手,仍在学习一些东西(我使用 Windows 顺便说一句)。
我尝试制作一个应用程序,将其连接到 Firebase。设置完所有内容后,该设置 CLI
好消息:我成功设置了从节点到 nvm 的所有内容,直到在 CLI 中成功启动登录。
坏消息:成功登录 CLI 后,我正在尝试输入 cmd
firebase deploy --only function
并出现此错误
错误:不在 Firebase 应用目录中(无法找到 firebase.json)
我已经在网上搜索解决方案,但我什么也没找到。
有人能告诉我我错过了什么吗?
解决方案
推荐阅读
- ios - “xcodebuild test”不断破坏我的 info.plist 文件
- powershell - 列出超过 5000 个用户的多个 AD 组的成员
- makefile - 如何仅在调用特定目标时触发 Makefile 必备文件的重建?
- java - 如何使用 UriComponentsBuilder 对“@”符号进行编码
- regex - 使用powershell替换两行之间的所有行
- laravel-5 - SQLSTATE [42S01]:基表或视图已存在:1050 表 'activity_log' 已存在
- python - 通过相同大小的周围矩形提取图像中的标记区域
- sql-server - DECRYPTBYPASSPHRASE 有时会为相同的输入和密码返回 NULL
- sql - 在用户级别检索与每个标签对应的答案总数
- tsql - 如何将 Azure SQL 托管实例备份备份到 Azure Blob