按照Bypass the interactive terminal prompts for parameter values during installation
部分下的
官方文档,我为扩展配置提供了
.env
文件,并通过--params
标志传递它。但是安装命令仍然提示:
extensions: You will be charged around $0.01/month for the Firebase resources required by this extension (even if it is not used). Additionally, using this extension will contribute to your project's overall usage level of Firebase services. However, you'll only be charged for usage that exceeds Firebase's free tier for those services.
See pricing examples: https://cloud.google.com/functions/pricing#pricing_examples
See the FAQ: https://firebase.google.com/support/faq/#extensions-pricing
? Do you wish to continue?
和
extensions: Resize Images will be granted the following access to project quaza-staging-f5446
- Storage Admin (Full control of GCS resources.)
? Would you like to continue?
我在这里遗漏了什么吗?
附注除了提示之外,安装进行得很顺利,所以我认为我设置
.env
文件的方式没有任何问题。
我有好消息和坏消息要告诉你。 根据
firebase ext:install --help
你可以使用:
-f, --force automatically accept all interactive prompts
但是这没有多大用处,因为该命令似乎不再接受
--params
firebase ext:install algolia/firestore-algolia-search --params=./utils/algolia/en_algolia.env --project=my-project-id
error: unknown option '--params'