Comments (7)
When running gatsby develop after cloning the repo and running npm:
success onPreBootstrap - 0.011 s
success source and transform nodes - 0.063 s
success building schema - 0.254 s
Your site's "gatsby-node.js" must set the page path when creating a page
Blog doesn't compile, presumably because of a problem here:
path: post.node.fields.slug,
In the gatsby-node.js file.
This might not be an issue, maybe just GraphQL is returning no edges on compile for some reason
from devblog.
This seems to be correct, GQL can't find fields on each node edge.
from devblog.
OK, the createPaginatedPages()
method isn't documented correctly over on that plugin's docs in that it doesn't specify that the pathPrefix
is required (or this is using it in a context where a default value won't work). Without it, the config won't resolve the base path when compiling the index. I'll issue a PR to fix this.
from devblog.
from devblog.
Sorry for a bit of a delay getting to this. This definitely looks like an issue, thank for bringing it up and for taking the time to put together a PR! I'll be able to to take a look at the PR shortly.
from devblog.
@SecondeJK, did you do anything in particular leading up the error? I'm trying to reproduce the problem but it seems to compile successfully for me (when running gatsby develop
).
from devblog.
That is really weird that it flat out refuses to compile with no mods* (see below)
Details are -
Ubuntu 18.04
npm 6.9.0
node 12.5.0
The only problem I encountered before compiling was having to fix gatsby-snap, which for some reason was just complaining. I manually installed the latest and created a new lockfile. Rendering the images -shoudn't- affect how gatsby ends up compiling the paginated index though...?
from devblog.
Related Issues (17)
- Links in excerpt doesn't doesn't work HOT 1
- UX issue: index page and blog-post page appear identically if featuredImage is present HOT 1
- Request: add named anchors to headings HOT 1
- Compilation fails when there's no featuredImage field
- Dark theme? HOT 1
- Pagination issue
- Kindly Add Headless CMS & Dark Mode plus Question
- Add dark mode
- Netlify deploy fails with current gatsby & sharp versions
- gatsby new blogname url error HOT 3
- Improve local setup prerequisite instructions
- Deploy failed - Failing build HOT 1
- Lighthouse audit reports issues HOT 7
- Typo in "Manually deploy" section of README.md file.
- Changes for switching to styled components v4 HOT 3
- UNIMPORTANT: Duplicate import of global styles HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devblog.