New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error TS2694: Namespace 'request' has no exported member 'Response'. #23341
Comments
Make sure |
Thank you, this worked. |
I'm having the same issue with Is this an issue with my config, or with the package? |
@jwhitmarsh That being said, @saisnigdha93 or some core dev can close this issue now. |
@mastermatt thank you! I've never come across having to use |
@jwhitmarsh did you already have |
I'm not sure that'd I'd never had it installed before. It was newly added to that project, but I might have used it before in another project which presumably will have set the cache - your theory sounds plausible, I'm sorry I can't help confirm it :( No apology necessary at all - very grateful for your help resolving it. |
Same here. adding |
@dotansimha you shouldn't need to add |
@mastermatt Under Still getting:
|
I have sold this issue adding earlier version of @types/request-promise
Hope it helps. |
Same than @dotansimha, the only fix was to downgrade |
@NerijusV thanks downgrading solved my issue too ! This is crazy |
Any update on this one? |
Hi thread, we're moving DefinitelyTyped to use GitHub Discussions for conversations the To help with the transition, we're closing all issues which haven't had activity in the last 6 months, which includes this issue. If you think closing this issue is a mistake, please pop into the TypeScript Community Discord and mention the issue in the |
Hi,
Getting the below exception with npm package @types/request-promise-native version 1.0.12, issue is not reproducible for previous versions. Could anyone look into this asap.
node_modules/@types/request-promise-native/index.d.ts(20,49): error TS2694: Namespace 'request' has no exported member 'Response'.
node_modules/@types/request-promise-native/index.d.ts(24,33): error TS2694: Namespace 'request' has no exported member 'Response'.
Got the below code that is causing the error:
DefinitelyTyped/types/request-promise-native/index.d.ts
Line 20 in a436740
Thanks.
The text was updated successfully, but these errors were encountered: