Coder Social home page Coder Social logo

admin-on-rest-graphql-demo's Issues

Schema must be an instance of GraphQLSchema

Hello,

I recently cloned this repo to get familiar with it. However, after running npm install and npm start I get the following error:

Uncaught (in promise) Error: Network error: Schema must be an instance of GraphQLSchema. Also ensure that there are not multiple versions of GraphQL installed in your node_modules directory.

I believe this might be an issue between Apollo and GraphQL itself but I am not entirely sure. But package.json looks like this:

{
"name": "admin-on-rest-graphql-demo",
"version": "1.0.0",
"private": true,
"devDependencies": {
"babel-eslint": "^7.1.1",
"babel-polyfill": "^6.16.0",
"eslint": "^3.10.2",
"eslint-config-airbnb": "^13.0.0",
"eslint-config-airbnb-base": "^10.0.1",
"eslint-import-resolver-node": "^0.2.3",
"eslint-module-utils": "^2.0.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^2.2.3",
"eslint-plugin-react": "^6.7.1",
"fakerest": "^1.2.1",
"fetch-mock": "^5.5.0",
"gh-pages": "^0.12.0",
"react-scripts": "0.9.5"
},
"dependencies": {
"admin-on-rest": "~1.0.0",
"aor-language-french": "^1.8.0",
"aor-rich-text-input": "^1.0.0",
"aor-simple-graphql-client": "^0.0.7",
"apollo-client": "^1.2.0",
"apollo-test-utils": "^0.3.0",
"casual-browserify": "^1.5.12",
"graphql": "^0.9.6",
"graphql-tools": "^0.11.0",
"lodash.upperfirst": "^4.3.1",
"material-ui": "~0.16.4",
"pluralize": "^4.0.0",
"prop-types": "~15.5.7",
"react": "~15.5.4",
"react-dom": "~15.5.4",
"react-redux": "~5.0.4",
"react-router-dom": "~4.1.0",
"react-tap-event-plugin": "~2.0.1",
"redux-form": "~6.6.2",
"redux-saga": "~0.14.6"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject",
"deploy": "gh-pages -d build"
},
"homepage": "http://marmelab.com/admin-on-rest-graphql-demo/"
}

I know this is just a demo but I would greatly appreciate any help. I will play around with it myself as well, I think some of the dependencies need to be updated, but if someone comes up with a conclusion/fix before me, awesome!

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.