drejohnson / react-universal-typescript

React starter for building universal apps with Typescript, Webpack 2, Apollo
3 stars 2 forks source link

throw new Error('A remote endpoint is required for a network layer') #1

Closed veeramarni closed 7 years ago

veeramarni commented 7 years ago

I was looking for similar project to run our app. Have it running successfully for you, i'm getting following error.

react-universal-typescript/node_modules/apollo-client/apollo.umd.js:35
            throw new Error('A remote endpoint is required for a network layer');
            ^

Error: A remote endpoint is required for a network layer
veeramarni commented 7 years ago

I have setup .env file with required setting pointing to graphcool which at least resolved above error but since schema don't exist in graphcool it is failing related to it. I'm closing this.

drejohnson commented 7 years ago

I missed this.

If you want to try it with my mock schema add this endpoint: https://api.graph.cool/simple/v1/cixm67lmh1yjd0177j5cwt47t