Guest User

Untitled

a guest
Jan 10th, 2022
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. ERROR #11321 PLUGIN
  2.  
  3. "gatsby-node.js" threw an error while running the createPages lifecycle:
  4.  
  5. Cannot read properties of null (reading 'includes')
  6.  
  7. 247 | const nodeTemplate = node.frontmatter.template
  8. 248 | let template = nodeTemplate ? nodeTemplate : `static`
  9. > 249 | if (slug.includes(`/tutorials/`)) {
  10. | ^
  11. 250 | template = `tutorial`
  12. 251 | } else if (slug.includes(`/docs/`)) {
  13. 252 | template = `docs`
  14.  
  15. File: gatsby-node.js:249:14
  16.  
  17.  
  18.  
  19. TypeError: Cannot read properties of null (reading 'includes')
  20.  
  21. - gatsby-node.js:249
  22. C:/Users/pwan/Desktop/ethereum-org-website/gatsby-node.js:249:14
  23.  
  24. - Array.filter
  25.  
  26. - gatsby-node.js:243 Object.exports.createPages
  27. C:/Users/pwan/Desktop/ethereum-org-website/gatsby-node.js:243:28
  28.  
  29. - task_queues:96 processTicksAndRejections
  30. node:internal/process/task_queues:96:5
  31.  
  32. - api-runner-node.js:462 runAPI
  33. [ethereum-org-website]/[gatsby]/src/utils/api-runner-node.js:462:16
  34.  
  35.  
  36. failed createPages - 42.994s
  37.  
  38.  
  39. C:\Users\pwan\Desktop\ethereum-org-website>
Advertisement
Add Comment
Please, Sign In to add comment