darthmeme / gridsome-plugin-rss

Generate an RSS feed from your Gridsome data store
15 stars 11 forks source link

getting error during Netlify build #17

Open BobWalsh opened 4 years ago

BobWalsh commented 4 years ago
4:39:48 PM: TypeError: Cannot destructure property `collection` of 'undefined' or 'null'.
4:39:48 PM:     at api.beforeBuild (/opt/build/repo/node_modules/gridsome-plugin-rss/index.js:8:34)
4:39:48 PM:     at Plugins.run (/opt/build/repo/node_modules/gridsome/lib/app/Plugins.js:142:34)
4:39:48 PM:     at module.exports (/opt/build/repo/node_modules/gridsome/lib/build.js:20:21)

Any idea what is triggering this error? I get the same error locally if I try a npm run build.