我正在尝试使用Firebase部署Web应用程序。当我运行命令firebase deploy --debug
时,出现以下错误:
i deploying hosting
[2018-10-31T14:20:12.494Z] >>> HTTP REQUEST POST https://firebasehosting.googleapis.com/v1beta1/sites/student-council-3ec64/versions
, deployment-tool=cli-firebase
[2018-10-31T14:20:14.586Z] <<< HTTP RESPONSE 200 content-type=application/json; charset=UTF-8, vary=X-Origin, Referer, Origin,Accept-Encoding, date=Wed, 31 Oct 2018 15:50:10 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
i hosting[student-council-3ec64]: beginning deploy...
i hosting[student-council-3ec64]: found 2 files in public
[2018-10-31T14:20:14.867Z] TypeError: this is not a typed array.
at Function.from (native)
at Uploader.hashcacheName (/usr/local/lib/node_modules/firebase-tools/lib/deploy/hosting/uploader.js:62:23)
at new Uploader (/usr/local/lib/node_modules/firebase-tools/lib/deploy/hosting/uploader.js:55:60)
at _runDeploys (/usr/local/lib/node_modules/firebase-tools/lib/deploy/hosting/deploy.js:31:24)
at module.exports (/usr/local/lib/node_modules/firebase-tools/lib/deploy/hosting/deploy.js:63:12)
at _chain (/usr/local/lib/node_modules/firebase-tools/lib/deploy/index.js:22:40)
at /usr/local/lib/node_modules/firebase-tools/lib/deploy/index.js:66:16
at process._tickDomainCallback (node.js:411:9)
Error: An unexpected error has occurred.
Having trouble? Try again or contact support with contents of firebase-debug.log
你能帮我吗?谢谢