I tried using new @apollo/server
with NestJS instead of apollo-server-express
. While using apollo-server-express
, the apollo-server-core
package is automatically used and no error is thrown. But when I remove apollo-server-express
and install @apollo/server
as dependency. There is the error.
Error: Cannot find module 'apollo-server-core'
Does anyone have any solution ??