On my first run gatsby develop it threw an error: Error: Cannot find module 'to-style', I followed this approach and then it threw an GraphQL error: Multiple "root" queries found: "DefaultSEOQuery" and "DefaultSEOQuery". Only the first ("DefaultSEOQuery") will be registered.. Following this approach I upgraded my gatsby-theme-docz to gatsby-theme-docz@next. And now it threw another error below that I wasn't able to solve yet.
$ gatsby develop
warn Configuring yargs through package.json is deprecated and will be removed in
⠙ open and validate gatsby-configs
ERROR
UNHANDLED REJECTION The "path" argument must be of type string. Received type undefined
Error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type s tring. Received type undefined
- validators.js:112 validateString
internal/validators.js:112:11
- gatsby-config.js:58 module.exports
[coolest-library]/[gatsby-theme-docz]/gatsby-config.js:58:22
- index.js:73 resolveTheme
[coolest-library]/[gatsby]/dist/bootstrap/load-themes/index.js:73:19
- index.js:138
[coolest-library]/[gatsby]/dist/bootstrap/load-themes/index.js:138:22
⠙ open and validate gatsby-configs
On my first run
gatsby develop
it threw an error:Error: Cannot find module 'to-style'
, I followed this approach and then it threw an GraphQL error:Multiple "root" queries found: "DefaultSEOQuery" and "DefaultSEOQuery". Only the first ("DefaultSEOQuery") will be registered.
. Following this approach I upgraded mygatsby-theme-docz
togatsby-theme-docz@next
. And now it threw another error below that I wasn't able to solve yet.Anyone has any suggestions? Huge thanks!