-
Notifications
You must be signed in to change notification settings - Fork 4
TypeError: Cannot read property 'href' of undefined #58
Comments
@kailash-chander07 this is often caused by not having a main image associated with your products. Could you try adding one for each of your products? |
I can see all the products have main images associated in EP dashboard. After I cleaned and build it is now failing with another error I tried finding this particular id in all products images relationships but no luck. Not sure how this picked this up. Any Idea ? |
@kailash-chander07 Can you try |
@samblacklock Yes I tried running these multiple time but same error |
Hmm @kailash-chander07 this error usually points to cached data somewhere. Could you try to delete your |
Hello Guys
I am trying to run the GatsBy build but getting below error. Any help is highly appreciated
success open and validate gatsby-configs - 0.023 s
success load plugins - 0.563 s
success onPreInit - 0.002 s
success delete html and css files from previous builds - 0.004 s
success initialize cache - 0.037 s
success copy gatsby files - 0.045 s
success onPreBootstrap - 0.007 s
(node:24004) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
ERROR #11321 PLUGIN
"@moltin/gatsby-source-moltin" threw an error while running the onCreateNode lifecycle:
Cannot read property 'href' of undefined
TypeError: Cannot read property 'href' of undefined
gatsby-node.js:346
[gatsby-demo-store]/[@moltin]/gatsby-source-moltin/gatsby-node.js:346:57
Array.filter
gatsby-node.js:345 getFileNodes
[gatsby-demo-store]/[@moltin]/gatsby-source-moltin/gatsby-node.js:345:33
gatsby-node.js:373 Object.exports.onCreateNode
[gatsby-demo-store]/[@moltin]/gatsby-source-moltin/gatsby-node.js:373:32
task_queues.js:97 processTicksAndRejections
internal/process/task_queues.js:97:5
⠦ source and transform nodes
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ build:
gatsby build "debug"
npm ERR! Exit status 1
npm ERR!
The text was updated successfully, but these errors were encountered: