tinkerhubcek / CCC-Website

You Know what this is :wink:
https://cekosc.ml
MIT License
2 stars 1 forks source link

Build Fails #6

Open athul opened 5 years ago

athul commented 5 years ago

Hey @akzhy any Idea why the build fails? Really need to redesign this stuff from the ground up I guess?

athul commented 5 years ago
Installing build runtime...
Build runtime installed: 920.475ms
Looking up build cache...
Installing dependencies...
yarn install v1.17.3
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.2.9: The platform "linux" is incompatible with this module.
info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "gatsby-plugin-less > less-loader@4.1.0" has unmet peer dependency "webpack@^2.0.0 || ^3.0.0 || ^4.0.0".
[4/4] Building fresh packages...
Done in 49.84s.
Running "yarn run build"
yarn run v1.17.3
$ gatsby build
╔════════════════════════════════════════════════════════════════════════╗
║                                                                        ║
║   Gatsby has started collecting anonymous usage analytics              ║
║   to help improve Gatsby for all users.                                ║
║                                                                        ║
║   If you'd like to opt-out, you can use `gatsby telemetry --disable`   ║
║   To learn more, checkout https://gatsby.dev/telemetry                 ║
║                                                                        ║
╚════════════════════════════════════════════════════════════════════════╝

⠋ open and validate gatsby-configs

success open and validate gatsby-configs - 0.025 s
⠋ open and validate gatsby-configs

⠋ load plugins
success load plugins - 0.572 s
⠋ load plugins

⠋ onPreInit

success onPreInit - 0.009 s
⠋ onPreInit

⠋ delete html and css files from previous builds

success delete html and css files from previous builds - 0.010 s
⠋ delete html and css files from previous builds

⠋ initialize cache
success initialize cache - 0.012 s
⠋ initialize cache

⠋ copy gatsby files

success copy gatsby files - 0.021 s
⠋ copy gatsby files

⠋ onPreBootstrap

success onPreBootstrap - 0.022 s
⠋ onPreBootstrap

⠋ source and transform nodes
⠙ source and transform nodes

success source and transform nodes - 0.119 s
⠙ source and transform nodes

⠋ building schema
⠙ building schema

success building schema - 0.299 s
⠙ building schema

⠋ createPages

success createPages - 0.053 s
⠋ createPages

⠋ createPagesStatefully

success createPagesStatefully - 0.032 s
⠋ createPagesStatefully

⠋ onPreExtractQueries

success onPreExtractQueries - 0.010 s
⠋ onPreExtractQueries

⠋ update schema

success update schema - 0.037 s
⠋ update schema

⠋ extract queries from components
⠙ extract queries from components


 ERROR #85909  GRAPHQL

Field "banner" must not have a selection since type "String" has no subfields

File: src/templates/blog.js:55:11

⠙ extract queries from components
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Exited with 1
    at ChildProcess.child.on (/tmp/40f9385d99dd2d94/.build-utils/.builder/node_modules/@now/static-build/dist/index.js:23548:24)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:925:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
worker exited with code 20 and signal null
done
akzhy commented 5 years ago

Missing the banner image for blog item

athul commented 5 years ago

I had updated that. Check the new version.

akzhy commented 5 years ago

I need console messages

athul commented 5 years ago
success update schema - 0.060 s
warn The GraphQL query in the non-page component
"/Users/athul/Desktop/CCC-Website/src/templates/blog-list.js" will not be run.
warn The GraphQL query in the non-page component
"/Users/athul/Desktop/CCC-Website/src/templates/blog.js" will not be run.
Exported queries are only executed for Page components. It's possible you're
trying to create pages in your gatsby-node.js and that's failing for some
reason.

If the failing component(s) is a regular component and not intended to be a page
component, you generally want to use a <StaticQuery> (https://gatsbyjs.org/docs/static-query)
instead of exporting a page query.

If you're more experienced with GraphQL, you can also export GraphQL
fragments from components and compose the fragments in the Page component
query and pass data down into the child component — http://graphql.org/learn/queries/#fragments
success extract queries from components - 0.745 s