After around 2 minutes of it being ran it comes up with this error I think it has something to do with every time it the the minute_per_check cycle. I have checked the util.ts file at line 388 and it comes under the function sendInStockAlert so it is probably something to do with that.
This happened during the query search so I think that's the problem.
Paste the contents of your config.json, excluding the token, here:
file:///C:/Users/mitch/Desktop/AmazonMonitor-master/common/util.ts:388
if(auto_cart_link) link = `${obj.link.split('/dp/')[0]}/gp/aws/cart/add.html${parseParams(cfg.url_params)}&ASIN.1=${item.asin}&Quantity.1=1`
^
TypeError: Cannot read properties of undefined (reading 'split')
at sendInStockAlert (file:///C:/Users/mitch/Desktop/AmazonMonitor-master/common/util.ts:388:41)
at priceCheck (file:///C:/Users/mitch/Desktop/AmazonMonitor-master/common/util.ts:321:5)
at file:///C:/Users/mitch/Desktop/AmazonMonitor-master/common/util.ts:275:13
at Array.forEach (<anonymous>)
at file:///C:/Users/mitch/Desktop/AmazonMonitor-master/common/util.ts:270:22
at Generator.next (<anonymous>)
at fulfilled (file:///C:/Users/mitch/Desktop/AmazonMonitor-master/common/util.ts:4:58)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Describe the issue:
After around 2 minutes of it being ran it comes up with this error I think it has something to do with every time it the the minute_per_check cycle. I have checked the util.ts file at line 388 and it comes under the function sendInStockAlert so it is probably something to do with that. This happened during the query search so I think that's the problem.
Paste the contents of your
config.json
, excluding the token, here:Provide console output with debug mode enabled: