Giter Club home page Giter Club logo

graphcool-gateway-apollo-engine-demo's People

Contributors

kbrandwijk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

musbell

graphcool-gateway-apollo-engine-demo's Issues

Memcache with credentials

Firstly, I'd like to say thank you very much for this example! It has been a great help in getting my Graphcool instance to connect with Apollo and enable in-memory caching!

Anyways, I found that Apollo Engine has problems trying to connect to a memcache service with credentials such as Memcachier or Memcached Cloud. I was unable to find similar services that don't require credentials. Have you been able to find a workaround for this? I ask because I currently run this on a Heroku dyno with limited memory and that's causing me problems with Apollo Engine's memory cache.

Cannot find module 'graphql-playground/middleware'

App immediately crashes when I run any of the start scripts. There is some kind of issue importing graphql-playground/middleware.

➜  graphcool-gateway-apollo-engine-demo git:(master) yarn start
yarn start v0.22.0
$ nodemon --ext ts --exec node ./node_modules/ts-node/dist/bin index.ts
[nodemon] 1.12.1
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node ./node_modules/ts-node/dist/bin index.ts`

/xxx/graphcool-gateway-apollo-engine-demo/node_modules/ts-node/src/index.ts:307
        throw new TSError(formatDiagnostics(diagnosticList, cwd, ts, lineOffset))
              ^
TSError: ⨯ Unable to compile TypeScript
index.ts (10,39): Cannot find module 'graphql-playground/middleware'. (2307)
    at getOutput (/xxx/graphcool-gateway-apollo-engine-demo/node_modules/ts-node/src/index.ts:307:15)
    at xxx/graphcool-gateway-apollo-engine-demo/node_modules/ts-node/src/index.ts:336:16
    at Object.compile (/xxx/graphcool-gateway-apollo-engine-demo/node_modules/ts-node/src/index.ts:498:11)
    at Module.m._compile (/xxx/graphcool-gateway-apollo-engine-demo/node_modules/ts-node/src/index.ts:392:43)
    at Module._extensions..js (module.js:580:10)
    at Object.require.extensions.(anonymous function) [as .ts] (/xxx/graphcool-gateway-apollo-engine-demo/node_modules/ts-node/src/index.ts:395:12)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Function.Module.runMain (module.js:605:10)
[nodemon] app crashed - waiting for file changes before starting...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.