Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ERROR #11321 PLUGIN
- "gatsby-node.js" threw an error while running the createPages lifecycle:
- Cannot read properties of null (reading 'includes')
- 247 | const nodeTemplate = node.frontmatter.template
- 248 | let template = nodeTemplate ? nodeTemplate : `static`
- > 249 | if (slug.includes(`/tutorials/`)) {
- | ^
- 250 | template = `tutorial`
- 251 | } else if (slug.includes(`/docs/`)) {
- 252 | template = `docs`
- File: gatsby-node.js:249:14
- TypeError: Cannot read properties of null (reading 'includes')
- - gatsby-node.js:249
- C:/Users/pwan/Desktop/ethereum-org-website/gatsby-node.js:249:14
- - Array.filter
- - gatsby-node.js:243 Object.exports.createPages
- C:/Users/pwan/Desktop/ethereum-org-website/gatsby-node.js:243:28
- - task_queues:96 processTicksAndRejections
- node:internal/process/task_queues:96:5
- - api-runner-node.js:462 runAPI
- [ethereum-org-website]/[gatsby]/src/utils/api-runner-node.js:462:16
- failed createPages - 42.994s
- C:\Users\pwan\Desktop\ethereum-org-website>
Advertisement
Add Comment
Please, Sign In to add comment