Build a CMS API With GraphQL and Apollo Server
Chimezie Enyinnaya

“node server.js” returns an error saying “graphqlExpress is not a function”.

This is for the part where we add it as a middleware.

I’ve even tried to use apollo-server instead of apollo-server-express for the line “const { graphqlExpress, graphiqlExpress } = require(‘apollo-server-express’);” but it did not work.

Any idea?