c:\Users\user\Desktop\COVID-19-GRAPHQL\node_modules\graphql\validation\validate.js:135
throw new Error(errors.map((error) => error.message).join(‘\n\n’));
^
Error: Unknown type “ObjectId”.
Unknown type “DateTime”.
Unknown type “ObjectId”.
Unknown type “DateTime”.
Unknown type “ObjectId”.
Unknown type “ObjectId”.
Unknown type “DateTime”.
Unknown type “ObjectId”.
Unknown type “DateTime”.
Unknown type “DateTime”.
Unknown type “DateTime”.
Unknown type “ObjectId”.
Unknown type “DateTime”.
Unknown type “ObjectId”.
Unknown type “DateTime”.
Unknown type “ObjectId”.
Unknown type “ObjectId”.
Unknown type “ObjectId”.
Unknown type “DateTime”.
Unknown type “DateTime”.
Unknown type “DateTime”.
Unknown type “ObjectId”.
Unknown type “DateTime”.
Unknown type “ObjectId”.
Unknown type “ObjectId”.
Unknown type “DateTime”.
Unknown type “ObjectId”.
Unknown type “DateTime”.
Unknown type “DateTime”.
Unknown type “ObjectId”.
Unknown type “DateTime”.
Unknown type “ObjectId”.
Unknown type “ObjectId”.
Unknown type “DateTime”.
Unknown type “ObjectId”.
Unknown type “DateTime”.
Unknown type “DateTime”.
Unknown type “DateTime”.
Unknown type “DateTime”.
Unknown type “DateTime”.
Unknown type “DateTime”.
Unknown type “DateTime”.
Unknown type “DateTime”.
Unknown type “DateTime”.
Unknown type “DateTime”.
Unknown type “DateTime”.
Unknown type “DateTime”.
Unknown type “DateTime”.
Unknown type “DateTime”.
Unknown type “DateTime”.
Unknown type “DateTime”.
Unknown type “DateTime”.
Unknown type “DateTime”.
Unknown type “DateTime”.
at assertValidSDL (c:\Users\user\Desktop\COVID-19-GRAPHQL\node_modules\graphql\validation\validate.js:135:11)
at buildASTSchema (c:\Users\user\Desktop\COVID-19-GRAPHQL\node_modules\graphql\utilities\buildASTSchema.js:44:34)
at makeExecutableSchema (c:\Users\user\Desktop\COVID-19-GRAPHQL\node_modules@graphql-tools\schema\cjs\makeExecutableSchema.js:74:47)
at ApolloServer.constructSchema (c:\Users\user\Desktop\COVID-19-GRAPHQL\node_modules\apollo-server-core\dist\ApolloServer.js:361:50)
at new ApolloServerBase (c:\Users\user\Desktop\COVID-19-GRAPHQL\node_modules\apollo-server-core\dist\ApolloServer.js:165:75)
at new ApolloServer (c:\Users\user\Desktop\COVID-19-GRAPHQL\node_modules\apollo-server-express\dist\ApolloServer.js:13:1)
at new ApolloServer (c:\Users\user\Desktop\COVID-19-GRAPHQL\node_modules\apollo-server\dist\index.js:31:9)
at Object. (c:\Users\user\Desktop\COVID-19-GRAPHQL\index.js:5:16)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module._extensions…js (node:internal/modules/cjs/loader:1308:10)
Node.js v18.15.0
[Done] exited with code=1 in 1.389 seconds