我有一个Firebase函数来创建一个PDF文件。最近,由于"Chrome版本“,它超时了吗?我既不理解错误信息,也不理解错误所在。当我在MacOS下本地部署它时,该函数可以工作。
TimeoutError: Timed out after 30000 ms while trying to connect to the browser! Only Chrome at revision r818858 is guaranteed to work.
at Timeout.onTimeout (/workspace/node_modules/puppeteer/lib/cjs/pup
在google.com函数中,当我尝试使用傀儡机时,我会得到以下所有站点的错误,这是google.com的一个例子:
Error: net::ERR_NAME_RESOLUTION_FAILED at http://www.google.com
at navigate (/srv/node_modules/puppeteer/lib/FrameManager.js:101:37)
at <anonymous>
at process._tickDomainCallback (internal/process/next_tick.js:229:7)
-- A
我使用的是firebase云函数,使用的是类型记录,每件事情都很好。在我的代码中,我创建了一个类型为DocumentReference和GeoPoint的变量,它使vs代码导入它
import { GeoPoint, DocumentReference } from '@google-cloud/firestore'
function offsetSlightly(location:GeoPoint) {
//some code here
return new GeoPoint(latitude, longitude)
}
因此,我需要添加使用命令添加的节点模块。
我有一个node12应用程序,它在gcloud应用程序引擎上运行了几周。现在突然间,它在试图发射木偶师时坠毁了:
/workspace/node_modules/puppeteer/.local-chromium/linux-737027/chrome-linux/chrome: error while loading shared libraries: libgbm.so.1: cannot open shared object file: No such file or directory
2020-05-13 14:42:35 default[20200513t163546]
2020
有没有人能帮我纠正这个错误?我见过类似的回答"Firebase firestore cloud functions showing Error: Invalid use of type“undefined”as a Firestore argument",但这个答案没有帮助。
Error: Invalid use of type "function" as a Firestore argument.
at Object.customObjectError (/user_code/node_modules/firebase-admin/node_modul
我试图在Google中创建一个节点,并使用它的唯一id在中创建一个相同名称的文档。
我正在使用谷歌的PHP客户端:
我已经阅读了他们的文档:
这是我的代码:
<?php
use \Google\Cloud\Firestore\FirestoreClient;
use \Google\Cloud\Core\Timestamp;
use \Google\Cloud\Firestore\Transaction as FirestoreTransaction;
use \grptx\Firebase as FirebaseClient;
class FirestoreTest
{
p
这是我叫user.getToken()的时候,其他的一切都很好(电子邮件,名字,照片等等)
dependencies {
// make sure you have these versions by updating your local Android SDK's (Android Support repo and Google repo)
compile "com.google.firebase:firebase-core:9.4.0"
compile "com.google.fire