When I ran the crawler it failed due to a Type Error. I later found that due to my VPN the remote was resetting my connection after each request resulting in hitting req.on('error', (error), but as in the snippet below it resulted in a Type Error. The simple change in this PR fixes the Type Error.
tailwindui-crawler/index.mjs:108
reject.err(error)
^
TypeError: reject.err is not a function
I replaced the reject.err with a console log to find out myself why it failed, result:
When I ran the crawler it failed due to a Type Error. I later found that due to my VPN the remote was resetting my connection after each request resulting in hitting
req.on('error', (error)
, but as in the snippet below it resulted in a Type Error. The simple change in this PR fixes the Type Error.I replaced the reject.err with a console log to find out myself why it failed, result: