gpt4 book ai didi

node.js - 火力地堡,类型错误 : Cannot read property 'error' of undefined

转载 作者:搜寻专家 更新时间:2023-11-01 00:27:43 24 4
gpt4 key购买 nike

每当我尝试将文件部署到 Firebase 托管时,我都会收到以下错误:

 [2018-11-01T09:36:18.073Z] <<< HTTP RESPONSE BODY undefined
[2018-11-01T09:36:18.075Z] TypeError: Cannot read property 'error' of undefined
at module.exports (C:\Users\dilzy\AppData\Roaming\npm\node_modules\firebase-tools\lib\responseToError.js:10:13)
at Request._callback (C:\Users\dilzy\AppData\Roaming\npm\node_modules\firebase-tools\lib\api.js:47:25)
at Request.self.callback (C:\Users\dilzy\AppData\Roaming\npm\node_modules\firebase-tools\node_modules\request\request.js:185:22)
at Request.emit (events.js:182:13)
at Request.EventEmitter.emit (domain.js:442:20)
at Request.<anonymous> (C:\Users\dilzy\AppData\Roaming\npm\node_modules\firebase-tools\node_modules\request\request.js:1157:10)
at Request.emit (events.js:182:13)
at Request.EventEmitter.emit (domain.js:442:20)
at IncomingMessage.<anonymous> (C:\Users\dilzy\AppData\Roaming\npm\node_modules\firebase-tools\node_modules\request\request.js:1079:12)
at Object.onceWrapper (events.js:273:13)

Error: An unexpected error has occurred.

不确定为什么会发生这种情况,并且通常部署工作正常,预计到现在为止。谢谢

最佳答案

更新 firebase-tools 为我修复了它:npm install -g firebase-tools

关于node.js - 火力地堡,类型错误 : Cannot read property 'error' of undefined,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53098684/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com