EQuimper / twitter-clone-with-graphql-reactnative

164 stars 71 forks source link

problem graphiqulExpress not being a variable #54

Open jmongtalvof opened 5 years ago

jmongtalvof commented 5 years ago

I am getting the following error:

app.use('/graphiql', (0, _apolloServerExpress.graphiqlExpress)({
                                                              ^

TypeError: (0 , _apolloServerExpress.graphiqlExpress) is not a function

I assume it is on the lines app.use( '/graphiql', graphiqlExpress({ endpointURL: constants.GRAPHQL_PATH, }), );

in the index.js, is there any way of fixing this

EQuimper commented 5 years ago

Which version are you using for the apollo-server