Open LaurenceM10 opened 5 years ago
I'm not sure what that error is, sorry! If you wanted to reproduce in a fork of this repo, I'd take a look: https://github.com/lorensr/test-meteor-apollo
It's okay, I'll fork. But the error basically occurs when importing the apollo server to the /imports/startup/server/index.js file, which in turn is imported from server/main.js I made sure to have all the dependencies installed.
@lorensr https://github.com/LaurenceM10/test-meteor-apollo/ I added the changes in server/server.js and it works but in my project it does not. The project I want to add apollo-server to is an existing meteor project, but I do not think that is the problem.
The versions of my dependencies are the following:
"apollo-boost": "^0.3.1", "apollo-server-express": "^2.0.0"
and my meteor version
METEOR@1.5.2.2
I also tried with:
"apollo-server-express": "^2.4.8"
I'm trying to add apollo-server-express to my Meteor application. I am following the documentation: https://www.apollographql.com/docs/react/recipes/meteor#Server using
meteor add apollo