shopify-monitor
shopify-monitor copied to clipboard
TypeError: Cannot read property 'img' of null
image: res.img,
^
TypeError: Cannot read property 'img' of null
at Shopify.getStockData (C:\Users\damanu2199\Desktop\shopify-monitor\src\classes\Task.js:133:27)
at Request._callback (C:\Users\damanu2199\Desktop\shopify-monitor\src\classes\Shopify.js:218:12)
at Request.self.callback (C:\Users\damanu2199\Desktop\shopify-monitor\node_modules\request\request.js:186:22)
at emitTwo (events.js:126:13)
at Request.emit (events.js:214:7)
at Request.
How can I fix that ?
same with me
yo peter stop emo tweeting and fix your shit
Hi, If you go to src\classes\Task.js and then rule: 133. You can remove the line. It worked for me, and there have been no changes in the bot itself.