關於爲什麼我不斷收到這個錯誤的任何想法 我目前正在運行一個監視器腳本,它運行良好,但只要它檢測到一堆鏈接同時進來,我得到這個錯誤,但是,如果它檢測到鏈接速度較慢,並且可能在一個特定時刻有1-2個鏈接,則此錯誤需要較長時間纔會顯示。TypeError:res.links.join不是函數
TypeError: res.links.join is not a function
at send (C:\Users\badboys\Desktop\SHOPIFY SCRIIPT\monitor\monitor.js:408:35)
at lib.getStockData (C:\Users\badboys\Desktop\SHOPIFY SCRIIPT\monitor\monitor.js:396:13)
at Request._callback (C:\Users\badboys\Desktop\SHOPIFY SCRIIPT\monitor\lib\index.js:71:20)
at self.callback (C:\Users\badboys\Desktop\SHOPIFY SCRIIPT\monitor\node_modules\request\request.js:186:22)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at Request.onRequestError (C:\Users\badboys\Desktop\SHOPIFY SCRIIPT\monitor\node_modules\request\request.js:845:8)
at emitOne (events.js:101:20)
at ClientRequest.emit (events.js:188:7)
at TLSSocket.socketErrorListener (_http_client.js:310:9)
at emitOne (events.js:96:13)
at TLSSocket.emit (events.js:188:7)
at emitErrorNT (net.js:1278:8)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
鏈接是否存儲在數組中?我的意思是鏈接是數組數據類型? –