You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…on an experiment based on the Gatsby + Netlify CMS Starter to get build working.
Various errors on local build and newer Gatsby:
error You used a reserved field name in the context object when creating a page:
* "path"
{
"path": "about",
"component": "/Users/[…]/src/templates/about-page.js",
"context": {
"path": "about"
}
}
Data in "context" is passed to GraphQL as potential arguments when running the
page query.
When arguments for GraphQL are constructed, the context object is combined with
the page object so both page object and context data are available as
arguments. If a context field duplicates a field already used by the page
object, this can break functionality within Gatsby so must be avoided.
Please choose another name for the conflicting fields.
The following fields are used by the page object and must be avoided.
* "path"
* "matchPath"
* "component"
* "componentChunkName"
* "pluginCreator___NODE"
* "pluginCreatorName"
On node 9.6.1, npm v5.6.0, and yarn 1.3.2, I just had to pin both
…on an experiment based on the Gatsby + Netlify CMS Starter to get build working.
Various errors on local
build
and newer Gatsby:…and remote bulid errors like:
Maybe an underlying issue from #1097 persists? Cc @tech4him1 @erquhart
The text was updated successfully, but these errors were encountered: