thepont / graphql-aggregate-sample Goto Github PK
View Code? Open in Web Editor NEWGraphQL Aggregate Sample
GraphQL Aggregate Sample
I'm trying to run this project and I am getting errors I don't understand. I am running this with the latest libraries available, so this should be pretty straightforward to replicate.
$ npm run run
[email protected] run /home/noah/Documents/blockview/graphql/graphql-aggregate-sample
babel-node index
/home/noah/Documents/blockview/graphql/graphql-aggregate-sample/node_modules/graphql/jsutils/invariant.js:19
throw new Error(message);
^
Error: PersonNoIntSum fields must be an object with field names as keys or a function which returns such an object.
at invariant (/home/noah/Documents/blockview/graphql/graphql-aggregate-sample/node_modules/graphql/jsutils/invariant.js:19:11)
at defineFieldMap (/home/noah/Documents/blockview/graphql/graphql-aggregate-sample/node_modules/graphql/type/definition.js:269:27)
at GraphQLObjectType.getFields (/home/noah/Documents/blockview/graphql/graphql-aggregate-sample/node_modules/graphql/type/definition.js:235:44)
at /home/noah/Documents/blockview/graphql/graphql-aggregate-sample/node_modules/graphql/type/schema.js:207:27
at typeMapReducer (/home/noah/Documents/blockview/graphql/graphql-aggregate-sample/node_modules/graphql/type/schema.js:219:7)
at /home/noah/Documents/blockview/graphql/graphql-aggregate-sample/node_modules/graphql/type/schema.js:217:22
at Array.forEach ()
at /home/noah/Documents/blockview/graphql/graphql-aggregate-sample/node_modules/graphql/type/schema.js:208:29
at typeMapReducer (/home/noah/Documents/blockview/graphql/graphql-aggregate-sample/node_modules/graphql/type/schema.js:219:7)
at /home/noah/Documents/blockview/graphql/graphql-aggregate-sample/node_modules/graphql/type/schema.js:217:22
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] run: babel-node index
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] run script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.