Skip to content

Instantly share code, notes, and snippets.

@VinSpee
Created February 21, 2019 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VinSpee/3ba6d394afbfa01918e892552e424b3b to your computer and use it in GitHub Desktop.
Save VinSpee/3ba6d394afbfa01918e892552e424b3b to your computer and use it in GitHub Desktop.
~/Projects
❯ npx gatsby new blahblah
info Creating new site from git: git://github.com/gatsbyjs/gatsby-starter-default.git
Cloning into 'blahblah'...
remote: Enumerating objects: 14, done.
remote: Counting objects: 100% (14/14), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 1321 (delta 6), reused 14 (delta 6), pack-reused 1307
Receiving objects: 100% (1321/1321), 3.68 MiB | 2.72 MiB/s, done.
Resolving deltas: 100% (758/758), done.
success Created starter directory layout
info Installing packages...
yarn install v1.13.0
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] πŸ” Resolving packages...
[2/4] 🚚 Fetching packages...
info idb-connector@1.1.8: The platform "darwin" is incompatible with this module.
info "idb-connector@1.1.8" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] πŸ”— Linking dependencies...
warning "gatsby > eslint-plugin-graphql@2.1.1" has incorrect peer dependency "graphql@^0.12.0 || ^0.13.0".
warning "gatsby > express-graphql@0.6.12" has incorrect peer dependency "graphql@^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0".
warning "gatsby > graphql-tools@3.1.1" has incorrect peer dependency "graphql@^0.13.0".
[4/4] πŸ”¨ Building fresh packages...
✨ Done in 24.93s.
~/Projects 29s
❯ cd blahblah
~/Projects/blahblah
❯ npm run develop
> gatsby-starter-default@0.1.0 develop /Users/vincentspeelman/Projects/blahblah
> gatsby develop
success open and validate gatsby-configs β€” 0.011 s
success load plugins β€” 0.279 s
success onPreInit β€” 0.671 s
success delete html and css files from previous builds β€” 0.006 s
success initialize cache β€” 0.010 s
success copy gatsby files β€” 0.099 s
success onPreBootstrap β€” 0.005 s
success source and transform nodes β€” 0.063 s
success building schema β€” 0.336 s
success createPages β€” 0.000 s
success createPagesStatefully β€” 0.048 s
success onPreExtractQueries β€” 0.005 s
success update schema β€” 0.138 s
success extract queries from components β€” 0.129 s
success run graphql queries β€” 0.201 s β€” 8/8 40.23 queries/second
success write out page data β€” 0.006 s
success write out redirect data β€” 0.001 s
Generating image thumbnails [==============================] 6/6 0.3 secs 100%
info bootstrap finished - 5.721 s
β „ onPostBootstrapdone generating icons for manifest
success onPostBootstrap β€” 0.151 s
DONE Compiled successfully in 4095ms 9:09:02 AM
You can now view gatsby-starter-default in the browser.
http://localhost:8000/
View GraphiQL, an in-browser IDE, to explore your site's data and schema
http://localhost:8000/___graphql
Note that the development build is not optimized.
To create a production build, use npm run build
β„Ή ο½’wdmο½£:
β„Ή ο½’wdmο½£: Compiled successfully.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment