我正在使用云功能和firebase / firestore开发项目。
今天,和往常一样,我运行了npm脚本“ npm run serve”,该脚本调用了“ firebase服务”,并且遇到了以下错误:
===从'E:\ Dev \ zetform'服务...
i函数:正在准备模拟功能。
错误:HTTP错误:404,未找到请求的实体。
当我使用--debug运行时,我看到HTTP请求失败,但是我不知道这可能意味着什么。
=== Serving from 'E:\Dev\zetform'...
i functions: Preparing to emulate functions.
[2018-09-11T17:16:09.400Z] Fetching environment
[2018-09-11T17:16:09.404Z] >>> HTTP REQUEST GET https://mobilesdk-pa.googleapis.com/v1/projects/778243292026:getServerAppConfig
Tue Sep 11 2018 20:16:09 GMT+0300 (Arabic Standard Time)
[2018-09-11T17:16:09.405Z] >>> HTTP REQUEST GET https://mobilesdk-pa.googleapis.com/v1/projects/778243292026/clients/_:getWebAppConfig
Tue Sep 11 2018 20:16:09 GMT+0300 (Arabic Standard Time)
[2018-09-11T17:16:09.736Z] <<< HTTP RESPONSE 200 content-type=application/json; charset=UTF-8, vary=X-Origin, Referer, Origin,Accept-Encoding, date=Tue, 11 Sep 2018 17:16:11 GMT, server=ESF, cache-control=private, x-xss-protection=1; mode=block, x-frame-options=SAMEORIGIN, x-content-type-options=nosniff, alt-svc=quic=":443"; ma=2592000; v="44,43,39,35", accept-ranges=none, connection=close
[2018-09-11T17:16:09.738Z] Starting @google-cloud/functions-emulator
[2018-09-11T17:16:09.756Z] <<< HTTP RESPONSE 404 vary=X-Origin, Referer, Origin,Accept-Encoding, content-type=application/json; charset=UTF-8, date=Tue, 11 Sep 2018 17:16:11 GMT, server=ESF, cache-control=private, x-xss-protection=1; mode=block, x-frame-options=SAMEORIGIN, x-content-type-options=nosniff, alt-svc=quic=":443"; ma=2592000; v="44,43,39,35", accept-ranges=none, connection=close
[2018-09-11T17:16:09.757Z] <<< HTTP RESPONSE BODY code=404, message=Requested entity was not found., status=NOT_FOUND
Error: HTTP Error: 404, Requested entity was not found.
[2018-09-11T17:16:09.768Z] Error Context: {
"body": {
"error": {
"code": 404,
"message": "Requested entity was not found.",
"status": "NOT_FOUND"
}
},
"response": {
"statusCode": 404,
"body": {
"error": {
"code": 404,
"message": "Requested entity was not found.",
"status": "NOT_FOUND"
}
},
"headers": {
"vary": "X-Origin, Referer, Origin,Accept-Encoding",
"content-type": "application/json; charset=UTF-8",
"date": "Tue, 11 Sep 2018 17:16:11 GMT",
"server": "ESF",
"cache-control": "private",
"x-xss-protection": "1; mode=block",
"x-frame-options": "SAMEORIGIN",
"x-content-type-options": "nosniff",
"alt-svc": "quic=\":443\"; ma=2592000; v=\"44,43,39,35\"",
"accept-ranges": "none",
"connection": "close"
},
"request": {
"uri": {
"protocol": "https:",
"slashes": true,
"auth": null,
"host": "mobilesdk-pa.googleapis.com",
"port": 443,
"hostname": "mobilesdk-pa.googleapis.com",
"hash": null,
"search": null,
"query": null,
"pathname": "/v1/projects/778243292026/clients/_:getWebAppConfig",
"path": "/v1/projects/778243292026/clients/_:getWebAppConfig",
"href": "https://mobilesdk-pa.googleapis.com/v1/projects/778243292026/clients/_:getWebAppConfig"
},
"method": "GET"
}
}
}
任何想法,这是怎么回事?