Skip to content
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: Cannot read property 'ip' of undefined #574

Closed
webafra opened this issue Jul 13, 2021 · 3 comments
Closed

Error: Cannot read property 'ip' of undefined #574

webafra opened this issue Jul 13, 2021 · 3 comments

Comments

@webafra
Copy link

webafra commented Jul 13, 2021

hello.

I created a new project today and by installing throttler package, I got the following error:

Screen Shot 2021-07-14 at 1 30 03 AM

ENV And Dependency:
Mac Os Big sur: 11.4
node : 14

"@nestjs/core": "^8.0.0",
"@nestjs/graphql": "^8.0.2",
"@nestjs/platform-express": "^8.0.0",
"@nestjs/throttler": "^2.0.0",
"apollo-server-express": "^2.25.2",

@jmcdo29
Copy link
Member

jmcdo29 commented Jul 13, 2021

Did you customize the ThrottlerGuard to work with GraphQL?

@jmcdo29
Copy link
Member

jmcdo29 commented Jul 22, 2021

Looks like this is all good? Let me know if not and provide a minimum reproduction.

@jmcdo29 jmcdo29 closed this as completed Jul 22, 2021
@webafra
Copy link
Author

webafra commented Jul 23, 2021

thanks @jmcdo29 , this work for me 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants