我正在尝试将Angular 7项目部署到Firebase托管。直到今天,它都运行良好。但是目前,它在地址firebasehosting.googleapis.com
上给出了ENOTFOUND错误。
这是firebase-debug.log文件。
[debug] [2019-03-31T14:37:55.803Z] ----------------------------------------------------------------------
[debug] [2019-03-31T14:37:55.806Z] Command: /usr/bin/node /usr/bin/firebase deploy
[debug] [2019-03-31T14:37:55.806Z] CLI Version: 6.5.0
[debug] [2019-03-31T14:37:55.806Z] Platform: linux
[debug] [2019-03-31T14:37:55.806Z] Node Version: v11.12.0
[debug] [2019-03-31T14:37:55.806Z] Time: Sun Mar 31 2019 20:07:55 GMT+0530 (India Standard Time)
[debug] [2019-03-31T14:37:55.806Z] ----------------------------------------------------------------------
[debug]
[debug] [2019-03-31T14:37:55.837Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
[debug] [2019-03-31T14:37:55.837Z] > authorizing via signed-in user
[debug] [2019-03-31T14:37:55.838Z] [iam] checking project trmt-050 for permissions ["firebase.projects.get","firebasehosting.sites.update"]
[debug] [2019-03-31T14:37:55.840Z] >>> HTTP REQUEST POST https://cloudresourcemanager.googleapis.com/v1/projects/trmt-050:testIamPermissions
[debug] [2019-03-31T14:37:57.752Z] <<< HTTP RESPONSE 200
[debug] [2019-03-31T14:37:57.762Z] >>> HTTP REQUEST GET https://firebase.googleapis.com/v1beta1/projects/trmt-050
[debug] [2019-03-31T14:37:58.454Z] <<< HTTP RESPONSE 200
[info]
[info] === Deploying to 'trmt-050'...
[info]
[info] i deploying hosting
[debug] [2019-03-31T14:37:58.470Z] >>> HTTP REQUEST POST https://firebasehosting.googleapis.com/v1beta1/sites/trmt-050/versions
[debug] [2019-03-31T14:37:58.739Z] Error: getaddrinfo ENOTFOUND firebasehosting.googleapis.com firebasehosting.googleapis.com:443
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:58:26)
[error]
[error] Error: Server Error. getaddrinfo ENOTFOUND firebasehosting.googleapis.com firebasehosting.googleapis.com:443
出现问题的原因是什么?任何帮助将不胜感激。