pehaa / gridsome-starter-wordpress-bootstrap

A BootstrapVue powered Gridsome starter that uses WordPress for content.
26 stars 11 forks source link

Using latest @gridsome/source-wordpress plugin #2

Open davestewart opened 5 years ago

davestewart commented 5 years ago

Hey,

Thanks for your starter! It got me off to a fantastic start with converting my WP site to markdown.

It's taken me literally about a day to get all the markup in, and convert the vue files to ones that suit my theme and development preferences.

Anyway, I just tried to replace...

... and I get the following error:

Error: child "path" fails because ["path" is required]
    at vaidateOptions (/Volumes/Data/Work/Sites/2018 - Dave Stewart/development/cms/Gridsome/gridsome-starter-wordpress/node_modules/gridsome/lib/pages/validateOptions.js:20:11)
    at Pages._normalizeOptions (/Volumes/Data/Work/Sites/2018 - Dave Stewart/development/cms/Gridsome/gridsome-starter-wordpress/node_modules/gridsome/lib/pages/pages.js:166:21)
    at Pages.createPage (/Volumes/Data/Work/Sites/2018 - Dave Stewart/development/cms/Gridsome/gridsome-starter-wordpress/node_modules/gridsome/lib/pages/pages.js:83:26)
    at Object.createPage (/Volumes/Data/Work/Sites/2018 - Dave Stewart/development/cms/Gridsome/gridsome-starter-wordpress/node_modules/gridsome/lib/pages/utils.js:33:20)
    at VueTemplates.createNodePage (/Volumes/Data/Work/Sites/2018 - Dave Stewart/development/cms/Gridsome/gridsome-starter-wordpress/node_modules/gridsome/lib/plugins/vue-templates/index.js:85:23)
    at contentType.collection.find.forEach.node (/Volumes/Data/Work/Sites/2018 - Dave Stewart/development/cms/Gridsome/gridsome-starter-wordpress/node_modules/gridsome/lib/plugins/vue-templates/index.js:53:12)
    at Array.forEach (<anonymous>)
    at VueTemplates.createTemplate (/Volumes/Data/Work/Sites/2018 - Dave Stewart/development/cms/Gridsome/gridsome-starter-wordpress/node_modules/gridsome/lib/plugins/vue-templates/index.js:52:35)
    at VueTemplates.createTemplates (/Volumes/Data/Work/Sites/2018 - Dave Stewart/development/cms/Gridsome/gridsome-starter-wordpress/node_modules/gridsome/lib/plugins/vue-templates/index.js:30:12)
    at process._tickCallback (internal/process/next_tick.js:68:7)

Any ideas?