[英]Heroku - Unable to install Firebase firestore - Grpc extension issue
I am using heroku 20 and wanted to install cloud firestore but getting the error我正在使用 heroku 20 并想安装 cloud firestore 但出现错误
google/cloud-firestore v1.27.2 requires ext-grpc google/cloud-firestore v1.27.2 需要 ext-grpc
Here is how i am installing package,这是我安装 package 的方式,
composer require google/cloud-firestore
Does anyone know how to install grpc extension on heroku?有谁知道如何在 heroku 上安装 grpc 扩展?
ext-grpc
is not listed among the PHP extensions available on Heroku , nor are arbitrary PECL packages supported by the official PHP buildpack. ext-grpc
未列在Heroku 上可用的 PHP 扩展中,官方 PHP 构建包也不支持任意 PECL 包。
I found a few attempts at adding support via third-party buildpacks, but don't believe that any of them actually work.我发现了一些通过第三方构建包添加支持的尝试,但我不相信它们中的任何一个真的有效。 If you need ext-grpc
, you may have to host elsewhere.如果你需要ext-grpc
,你可能需要在别处托管。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.