sibelius / relay-workshop

Material for my Relay Workshop
https://react-europe-relay-workshop.now.sh/
169 stars 11 forks source link

slides/concepts are not working #714

Open fxOne opened 3 years ago

fxOne commented 3 years ago

Bug

Steps To Reproduce

run yarn start in the slides/concepts folder I'm getting the following output:

fxone@fx-one:~/dev/relay-workshop-private/slides/concepts$ yarn start
yarn run v1.22.5
$ mdx-deck src/deck.mdx
info Deleting .cache, public, /home/fxone/dev/relay-workshop-private/node_modules/mdx-deck/node_modules/.cache/babel-loader, /home/fxone/dev/relay-workshop-private/node_modules/mdx-deck/node_modules/.cache/terser-webpack-plugin
info Successfully deleted directories
error (node:4266) [DEP_WEBPACK_LIBRARY_TEMPLATE_PLUGIN] DeprecationWarning: webpack.LibraryTemplatePlugin is deprecated and has been replaced by compilation.outputOptions.library or compilation.addEntry + passing a library option
(Use `node --trace-deprecation ...` to show where the warning was created)
error (node:4266) [DEP_WEBPACK_AGGRESSIVE_SPLITTING_PLUGIN] DeprecationWarning: AggressiveSplittingPlugin is deprecated in favor of SplitChunksPlugin
success open and validate gatsby-configs - 0.014s
success load plugins - 0.261s
success onPreInit - 0.024s
success initialize cache - 0.007s
success copy gatsby files - 0.059s
success onPreBootstrap - 0.015s
success createSchemaCustomization - 0.001s
success Checking for changed pages - 0.001s
success source and transform nodes - 0.150s
error Missing onError handler for invocation 'building-schema', error was 'TypeError: (0 , _buildASTSchema.getDescription) is not a function'. Stacktrace was 'TypeError: (0 , _buildASTSchema.getDescription) is not a function
    at TypeMapper.makeTypeDef (/home/fxone/dev/relay-workshop-private/node_modules/graphql-compose/lib/TypeMapper.js:884:55)
    at TypeMapper.makeSchemaDef (/home/fxone/dev/relay-workshop-private/node_modules/graphql-compose/lib/TypeMapper.js:642:21)
    at forEach (/home/fxone/dev/relay-workshop-private/node_modules/gatsby/src/schema/schema.js:1184:52)
    at Array.forEach (<anonymous>)
    at parseTypes (/home/fxone/dev/relay-workshop-private/node_modules/gatsby/src/schema/schema.js:1154:19)
    at forEach (/home/fxone/dev/relay-workshop-private/node_modules/gatsby/src/schema/schema.js:256:23)
    at Array.forEach (<anonymous>)
    at addTypes (/home/fxone/dev/relay-workshop-private/node_modules/gatsby/src/schema/schema.js:248:9)
    at updateSchemaComposer (/home/fxone/dev/relay-workshop-private/node_modules/gatsby/src/schema/schema.js:135:9)
    at buildSchema (/home/fxone/dev/relay-workshop-private/node_modules/gatsby/src/schema/schema.js:62:9)
    at build (/home/fxone/dev/relay-workshop-private/node_modules/gatsby/src/schema/index.js:105:24)
    at buildSchema (/home/fxone/dev/relay-workshop-private/node_modules/gatsby/src/services/build-schema.ts:19:3)'
⢀ building schema
not finished building schema - 10.948s
sibelius commented 3 years ago

you can find the same here https://relay-concepts.vercel.app/#0