Comments (3)
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.
After recheck the doc, copy/paste code, still get error, but different one.
make a new branch for reproduce this issue:
https://github.com/HaveF/Vulcan/tree/tutorial-framework
from vulcan-docs.
Fixed here: VulcanJS/Vulcan@6693768
from vulcan-docs.
Related Issues (20)
- Add documentation about callbacks HOT 1
- Document Apollo Engine Integration
- importing PropTypes
- Error in observer.next ... HOT 13
- Document withMulti2
- Document how to use arrays with field resolvers
- Document non trivial custom mutation
- typo? in `schemas.md#resolveas` HOT 4
- should modules include a subdirectory in example-movies? HOT 1
- autoValue in schema did not work for me HOT 5
- Movie Example resolveAs Error HOT 1
- movies tutorial: graphiql part has a bug
- Add search to the docs HOT 5
- Add a "community packages" page HOT 4
- VulcanJS Slack link isn't working HOT 1
- Tutorial recommended packages doesn't work HOT 3
- Customizing post on the forum example has a broken link
- Customization example, using "<>" in the doc
- Meta Descriptions are missing (blank)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vulcan-docs.