Open fpena06 opened 3 years ago
you are getting this issue when the request is ran ? ive seen this issue when trying to get the cookies from the jar but its usually cause from not passing in the current url to the getCookies function
So the issue only seems to happen when using in a .js file. If you copy my snippet and save to a .js you can reproduce the error. With the .ts sample seems to work fine.
When trying to use it with tough-cookie I get the following error. UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'secure' of undefined