-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Cache control Type issue #4261
Comments
Facing the same issue, Even the apollo-server-express does not have node modules |
Same for me version 2.18.0 |
I found a fix if you |
I encountered this too. It looks like the version of You can check your lock file for the dependencies of |
Yeah, there are too many packages that are part of Apollo Server, and the package breaks aren't designed well to avoid circular/diamond dependencies in some cases. Fixing this is a major design goal for Apollo Server 4; if you look at the |
I'm going to close this issue because it's pretty challenging to solve with the current package structure but should be solved with AS4. There's a workaround for this issue at #3339 (comment) (though that is a bit outdated since the particular package you have to specify is no longer |
Getting this error
TS2717: Subsequent property declarations must have the same type. Property 'cacheControl' must be of type '{ setCacheHint: (hint: CacheHint) => void; cacheHint: CacheHint; }', but here has type '{ setCacheHint: (hint: CacheHint) => void; cacheHint: CacheHint; }'.
Tried deleting, node_modules and package.lock.json and reinstalling but it's not working
Can someone help on this?
The text was updated successfully, but these errors were encountered: