我正在尝试将功能"托管"添加到已安装功能的Firebase项目文件中.
所以我想知道我是否可以使用Firebase Init来做到这一点.或者这将删除我现有的firebase功能.无论如何,我可以在不删除Firebase功能的情况下执行此操作.
而且,为了使用firebase功能,我是否还必须安装数据库?或者只是功能和托管.
谢谢.
firebase firebase-realtime-database google-cloud-functions firebase-cli
我正在将firebase login:ci
令牌用于 CI/CD。但是没有足够的关于令牌的文档。
它是否有权访问我的帐户有权访问的所有 firebase 项目或仅访问当前活动的项目?
我在哪里可以看到所有代币及其活动的列表?
我要寻求的解决方案是创建一个一次性电子邮件并将其添加到我要部署的项目中。这个可以吗?
我将Firebase CLI升级到了6.8.0版。现在,当我部署函数时,我收到一条警告消息,如下所示:
?功能:警告!在PACKAGE.JSON中找不到引擎字段。默认为NODE 6运行时。如果package.json中未指定引擎字段,则将从2019年6月1日开始阻止部署。要解决此问题,请将以下行添加到package.json中:
"engines": {
"node": "6"
}
Run Code Online (Sandbox Code Playgroud)
我应该怎么做以避免此错误消息?
我将 Firebase CLI (firebase-tools) 升级到版本 7.0.0。现在,当我运行它时,它会给我一条消息:
Firebase CLI v7.0.0 与 Node.js v6.17.1 不兼容 请将 Node.js 升级到版本 >= 8.0.0
我该如何解决?
在启动我的Firebase应用后
firebase init
Run Code Online (Sandbox Code Playgroud)
我试图用
firebase deploy
Run Code Online (Sandbox Code Playgroud)
但是我得到这个错误
=== Deploying to 'fugis-auto-services-website'...
i deploying database, storage, functions, hosting
Error: An unexpected error has occurred.
Run Code Online (Sandbox Code Playgroud)
所以我看了看firebase-debug.log,这就是它的意思
Tue May 01 2018 19:52:19 GMT-0500 (CDT)
[debug] [2018-05-02T00:52:19.967Z] <<< HTTP RESPONSE 200
[info]
[info] === Deploying to 'fugis-auto-services-website'...
[info]
[info] i deploying database, storage, functions, hosting
[debug] [2018-05-02T00:52:20.266Z] TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
at assertPath (path.js:39:11)
at Object.join (path.js:1157:7)
at Config.path (/Users/vanessaflores/.nvm/versions/node/v10.0.0/lib/node_modules/firebase-tools/lib/config.js:166:37)
at /Users/vanessaflores/.nvm/versions/node/v10.0.0/lib/node_modules/firebase-tools/lib/deploy/lifecycleHooks.js:68:38
at _chain (/Users/vanessaflores/.nvm/versions/node/v10.0.0/lib/node_modules/firebase-tools/lib/deploy/index.js:26:38) …
Run Code Online (Sandbox Code Playgroud) 是否可以在 Firebase 的部署工具中获得详细日志记录?
我正在尝试按照本指南在我的网站上启用 Angular Universal:https : //hackernoon.com/deploying-angular-universal-v6-with-firebase-c86381ddd445
我的应用程序构建得很好,但是在执行 a 时firebase deploy
,我收到了这个<sarcasm>
非常有用的</sarcasm>
错误消息:
我很想知道我做错了什么,但看起来 Firebase 真的不确定。我检查了 Firebase 控制台下的日志屏幕,但它是空的。
我在 VScode 中有多个带有项目目录的客户项目,我可以在它们之间切换。这些都使用 Firebase 并拥有不同的 Firebase(即 Google 帐户)。
每次我切换我都必须
firebase logout
firebase login
,这将在此 Chrome 实例中启动 auth。有时很容易忘记 - 是否有一种简单的方法可以将 Google/Firebase 帐户链接到项目目录,以便在打开该目录时连接到该 Firebase 实例(没有多个笔记本电脑配置文件)?用 git with 可以指定目录配置文件中的设置。
只是有兴趣知道?
我正在尝试在本地系统上为 firebase 应用程序分发设置 CI-CD。
fastlane-plugin-firebase_app_distribution
找不到插件。
Error loading plugin 'fastlane-plugin-firebase_app_distribution': cannot load such file -- fastlane/plugin/firebase_app_distribution
+-------------------------------------------+-----------+------------------+
| Used plugins |
+-------------------------------------------+-----------+------------------+
| Plugin | Version | Action |
+-------------------------------------------+-----------+------------------+
| fastlane-plugin-firebase_app_distribution | undefined | No actions found |
+-------------------------------------------+-----------+------------------+
Run Code Online (Sandbox Code Playgroud)
我该怎么办?
我正在将我的 React 应用程序部署到 firebase 托管。当我创建 firebase init 并选择所有选项时,我收到此错误。
C:\Users\user\git\Apps\screem>firebase init
######## #### ######## ######## ######## ### ###### ########
## ## ## ## ## ## ## ## ## ## ##
###### ## ######## ###### ######## ######### ###### ######
## ## ## ## ## ## ## ## ## ## ##
## #### ## ## ######## ######## ## ## ###### ########
You're about to initialize a Firebase project in this directory:
C:\Users\user\git\Apps\screem
? Are you ready to proceed? Yes
? Which Firebase CLI …
Run Code Online (Sandbox Code Playgroud) 我无法编译我的 flutter 应用程序,因为它没有为 Windows 配置,或者更确切地说,它没有为 Windows 配置 Firebase,因此应用程序启动但失败。我不明白为什么当我运行时flutterfire configure
它会显示以下内容。