Code Monkey home page Code Monkey logo

Comments (3)

HaveF avatar HaveF commented on June 14, 2024

terminal information:

I20170424-09:07:38.947(8)? { [Error: GraphQL error: Cannot query field "undefined" on type "Query".]
I20170424-09:07:38.948(8)?   graphQLErrors:
I20170424-09:07:38.948(8)?    [ { message: 'Cannot query field "undefined" on type "Query".',
I20170424-09:07:38.949(8)?        locations: [Object] } ],
I20170424-09:07:38.949(8)?   networkError: null,
I20170424-09:07:38.949(8)?   message: 'GraphQL error: Cannot query field "undefined" on type "Query".',
I20170424-09:07:38.949(8)?   extraInfo: undefined,
I20170424-09:07:38.950(8)?   queryErrors: [ [Circular] ] }
W20170424-09:07:38.955(8)? (STDERR) Mon Apr 24 2017 09:07:38 GMT+0800 (CST) 'error while server-rendering' 'Error: GraphQL error: Cannot query field "undefined" on type "Query".\n    at ApolloError.Error (native)\n    at new ApolloError (/Users/HaveF/Desktop/newTech/vulcan_tutorial/node_modules/apollo-client/apollo.umd.js:1845:28)\n    at /Users/HaveF/Desktop/newTech/vulcan_tutorial/node_modules/apollo-client/apollo.umd.js:2691:41\n    at /Users/HaveF/Desktop/newTech/vulcan_tutorial/node_modules/apollo-client/apollo.umd.js:3115:25\n    at Array.forEach (native)\n    at /Users/HaveF/Desktop/newTech/vulcan_tutorial/node_modules/apollo-client/apollo.umd.js:3112:27\n    at Array.forEach (native)\n    at QueryManager.broadcastQueries (/Users/HaveF/Desktop/newTech/vulcan_tutorial/node_modules/apollo-client/apollo.umd.js:3109:42)\n    at QueryManager.broadcastNewStore (/Users/HaveF/Desktop/newTech/vulcan_tutorial/node_modules/apollo-client/apollo.umd.js:2499:14)\n    at /Users/HaveF/Desktop/newTech/vulcan_tutorial/node_modules/apollo-client/apollo.umd.js:3167:44\n => awaited here:\n    at Function.Promise.await (/Users/HaveF/.meteor/packages/promise/.0.8.8.1ba92yi++os+web.browser+web.cordova/npm/node_modules/meteor-promise/promise_server.js:35:12)\n    at Object.options.preRender (packages/vulcan:routing/lib/server/routing.jsx:52:22)\n    at generateSSRData (packages/vulcan:routing/lib/server/router.jsx:51:15)\n    at sendSSRHtml (packages/vulcan:routing/lib/server/router.jsx:79:25)\n    at packages/vulcan:routing/lib/server/router.jsx:136:11\n    at /Users/HaveF/Desktop/newTech/vulcan_tutorial/node_modules/react-router/lib/match.js:67:5\n    at /Users/HaveF/Desktop/newTech/vulcan_tutorial/node_modules/react-router/lib/createTransitionManager.js:99:11\n    at done (/Users/HaveF/Desktop/newTech/vulcan_tutorial/node_modules/react-router/lib/AsyncUtils.js:79:19)\n    at /Users/HaveF/Desktop/newTech/vulcan_tutorial/node_modules/react-router/lib/AsyncUtils.js:85:7\n    at getComponentsForRoute (/Users/HaveF/Desktop/newTech/vulcan_tutorial/node_modules/react-router/lib/getComponents.js:11:5)'

from vulcan-docs.

HaveF avatar HaveF commented on June 14, 2024

After recheck the doc, copy/paste code, still get error, but different one.
2017-04-25 9 46 46
2017-04-25 9 47 08

graphiql is fine:
2017-04-25 9 48 36

make a new branch for reproduce this issue:

https://github.com/HaveF/Vulcan/tree/tutorial-framework

from vulcan-docs.

SachaG avatar SachaG commented on June 14, 2024

Fixed here: VulcanJS/Vulcan@6693768

from vulcan-docs.

Related Issues (20)

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.