[@types/request] Error: has no exported member named 'CookieJar' #71418
Replies: 18 comments 2 replies
|
Thanks for the discussion about "request", some useful links for everyone: Pinging the DT module owners: @soywiz, @bonnici, @Bartvds, @joeskeen, @ccurrens, @lookfirst, @mastermatt, @josecolella, @murbanowicz. |
|
I'm having the same issue. |
|
Same issue |
|
Also seeing this issue when running tsc using tough-cookie 5.0.0. Any updates on a fix? |
|
Hello everyone, we got a legacy project assigned to our team and facing the same error: Thank you! |
|
I encountered the same issue when I tried running a legacy project. Any help would be welcomed. |
|
I have the same issue. It prevented my project from building, so I had to modify but it's just muting warning, so real fix would be appreciated. |
|
Also facing this issue when building a legacy app. Any help would be appreciated. |
|
Same thing here, been trying everything under the sun to try and fix this to no avail. |
|
facing the same issue here as well.. unable to get past this issue. |
|
Facing the same issue after upgrading from from jsdom@24 to jsdom@26 which is using tough-cookie@5.1.1 |
|
Facing the same issue with |
|
"skipLibCheck": true - tsconfig |
|
|
|
I have submitted PR #72413 to fix this issue. You may want to have a look. |
|
Hey all, seems like this issue is still persistent. For now, we have an override in our |
|
Just one more +1 for this problem. For us, I preferred to pin |
|
One more +1. Now I have problem with angular 22, airbrake/browser and @types/request. |
Uh oh!
There was an error while loading. Please reload this page.
I get the following typescript error
My project contains jsdom which has
"tough-cookie": "^5.0.0"as a dependency. If I understand correctly, the error occurs because the types are imported from this package instead of@types/tough-cookie.Changing the code to
options?: tough.SetCookieOptionsfixes the error for me. But I think it would probably be better to use the types from@types/tough-cookiesomehow.?All reactions