Previously my project was working fine. Today updated the dependencies after that I got this issue:
node_modules/@apollo/gateway/node_modules/apollo-cache-control/dist/index.d.ts:24:9 - 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; }'.
cacheControl: {
~~~~~~~~~~~~
mnode_modules/apollo-cache-control/dist/index.d.ts:24:9
cacheControl: {
~~~~~~~~~~~~
'cacheControl' was also declared here.
6:29:58 PM - Found 1 error. Watching for file changes.
I tried deleting node_modules but got the same issue.
Bug Report
Previously my project was working fine. Today updated the dependencies after that I got this issue:
I tried deleting
node_modules
but got the same issue.Current behavior
Unable to start the server.
Environment
package.json