gatsbyjs / homepage-starters Goto Github PK
View Code? Open in Web Editor NEWDevelopment setup for homepage starters with multiple CMS backends
Home Page: https://homepagestartersdev.gatsbyjs.io/
License: BSD Zero Clause License
Development setup for homepage starters with multiple CMS backends
Home Page: https://homepagestartersdev.gatsbyjs.io/
License: BSD Zero Clause License
Links don't show when added to sections Product and Feature.
Intro
gatsby-theme-contentful-blog
, so I'm running npm i gatsby-theme-contentful-blog
ContentfulAsset.gatsbyImageData
being gatsbyImageData
vs JSON
CONTENTFUL_ACCESS_TOKEN
vs CONTENTFUL_DELIVERY_ACCESS_TOKEN
Request
9:54:47 AM: info [gatsby-theme-abstract-blog] creating pages
9:54:47 AM: error "gatsby-theme-abstract-blog" threw an error while running the createPages lifecycle:
9:54:47 AM: Interface field Image.gatsbyImageData expects type GatsbyImageData but ContentfulAsset.gatsbyImageData is type JSON.
9:54:47 AM: 140 | }
9:54:47 AM: 141 |
9:54:47 AM: > 142 | const result = await graphql(`
| ^
143 | {
144 | posts: allBlogPost {
145 | nodes {
9:54:47 AM:
9:54:47 AM: Error: Interface field Image.gatsbyImageData expects type GatsbyImageData but ContentfulAsset.gatsbyImageData is type JSON.
9:54:47 AM:
I'm unable to raise any issues for the gatsby-starter-contentful-homepage repo you own so I'm raising it here. Following the exact steps in the readme I'm unable to get it started locally.
Once I get to the yarn start
command it always ends with:
Module not found: Error: Can't resolve 'gatsby-script' in '/Users/username/Documents/my-homepage/.cache'
I've tried multiple fresh setups, I've also tried running gatsby clean
and then gatsby develop
and I just get same results.
I can however create and run a gatsby instance fine with gatsby new
and then gatsby develop
so it's definitely some issue with the contentful template.
https://github.com/miketricking/weeb-schwarz
...
The site is running on localhost
It fails to build and run on localhost
System:
OS: macOS 12.3.1
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.18.0 - /usr/local/bin/node
Yarn: 1.22.15 - /usr/local/bin/yarn
npm: 7.24.1 - /usr/local/bin/npm
Browsers:
Chrome: 106.0.5249.119
Firefox: 73.0
Safari: 15.4
npmPackages:
gatsby: ^4.23.1 => 4.24.4
gatsby-plugin-image: ^2.23.1 => 2.24.0
gatsby-plugin-manifest: ^4.6.0 => 4.24.0
gatsby-plugin-react-helmet: ^5.5.0 => 5.24.0
gatsby-plugin-sharp: ^4.23.1 => 4.24.0
gatsby-plugin-vanilla-extract: ^2.0.1 => 2.0.1
gatsby-provision-contentful: ^0.0.3 => 0.0.3
gatsby-source-contentful: ^7.21.1 => 7.22.0
gatsby-source-filesystem: ^4.22.0 => 4.24.0
gatsby-transformer-sharp: ^4.23.1 => 4.24.0
npmGlobalPackages:
gatsby-cli: 4.24.0
No response
On both starter pages for Contenful, there are links and documentation how to set up Gatsby cloud, which is deprecated.
Contentfuls "new way" of previewing content is live-preview. They have a working example but it does not seem to work on any of the gatsby projects. Would be highly appreciated if this could be added to them.
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.