swyxio / browse-gatsby-themes

browser of gatsby themes. try before you buy.
0 stars 0 forks source link

theme remix issue #1

Open swyxio opened 5 years ago

swyxio commented 5 years ago
 ERROR #11321  PLUGIN

"@joshkennedy00/gatsby-theme-blog-remix" threw an error while running the onCreateNode lifecycle:

The plugin "@joshkennedy00/gatsby-theme-blog-remix" created a node of a type owned by another plugin.

        The node type "BlogPost" is owned by "gatsby-theme-blog".

        If you copy and pasted code from elsewhere, you'll need to pick a new type name
        for your new node(s).

        The node object passed to "createNode":

        {
    "title": "Hello World",
    "tags": [],
    "slug": "/gatsby-theme-blog-remix/hiworld",
    "date": "2019-04-15T00:00:00.000Z",
    "id": "85ccc25c-336f-53ed-8c3e-907238bf56f3",
    "parent": "954b1f0e-9e70-5458-9f49-fe2cfc1cf52f",
    "children": [],
    "internal": {
        "type": "BlogPost",
        "contentDigest": "b3a5936e9389a93098050591eed965f4",
        "content": "{\"title\":\"Hello World\",\"tags\":[],\"slug\":\"/gatsby-theme-blog-remix/hiworld\",\"date\":\"2019-04-15T00:00:00.000Z\"}",
        "description": "Blog Posts",
        "owner": "@joshkennedy00/gatsby-theme-blog-remix"
    }
}

        The plugin creating the node:

        {
    "resolve": "/Users/swyx/Work/browse-gatsby-themes/node_modules/@joshkennedy00/gatsby-theme-blog-remix",
    "id": "6d39eb3f-8cfa-5640-8013-c7570ef4bc39",
    "name": "@joshkennedy00/gatsby-theme-blog-remix",
    "version": "1.0.8",
    "pluginOptions": {
        "plugins": [],
        "basePath": "/gatsby-theme-blog-remix",
        "contentPath": "gatsby-theme-blog-remix/content/posts",
        "assetPath": "gatsby-theme-blog-remix/content/assets"
    },
    "nodeAPIs": [
        "onPreBootstrap",
        "sourceNodes",
        "createPages",
        "onCreateNode"
    ],
    "browserAPIs": [],
    "ssrAPIs": [],
    "pluginFilepath": "/Users/swyx/Work/browse-gatsby-themes/node_modules/@joshkennedy00/gatsby-theme-blog-remix"
}

  Error: The plugin "@joshkennedy00/gatsby-theme-blog-remix" created a node of a type owned   by another plugin.
          The node type "BlogPost" is owned by "gatsby-theme-blog".
          If you copy and pasted code from elsewhere, you'll need to pick a new type name
          for your new node(s).
          The node object passed to "createNode":
          {
      "title": "Hello World",
      "tags": [],
      "slug": "/gatsby-theme-blog-remix/hiworld",
      "date": "2019-04-15T00:00:00.000Z",
      "id": "85ccc25c-336f-53ed-8c3e-907238bf56f3",
      "parent": "954b1f0e-9e70-5458-9f49-fe2cfc1cf52f",
      "children": [],
      "internal": {
          "type": "BlogPost",
          "contentDigest": "b3a5936e9389a93098050591eed965f4",
          "content": "{\"title\":\"Hello World\",\"tags\":[],\"slug\":\"/gatsby-theme-blog-  remix/hiworld\",\"date\":\"2019-04-15T00:00:00.000Z\"}",
          "description": "Blog Posts",
          "owner": "@joshkennedy00/gatsby-theme-blog-remix"
      }
  }
          The plugin creating the node:
          {
      "resolve": "/Users/swyx/Work/browse-gatsby-themes/node_modules/@joshkennedy00/gatsby-  theme-blog-remix",
      "id": "6d39eb3f-8cfa-5640-8013-c7570ef4bc39",
      "name": "@joshkennedy00/gatsby-theme-blog-remix",
      "version": "1.0.8",
      "pluginOptions": {
          "plugins": [],
          "basePath": "/gatsby-theme-blog-remix",
          "contentPath": "gatsby-theme-blog-remix/content/posts",
          "assetPath": "gatsby-theme-blog-remix/content/assets"
      },
      "nodeAPIs": [
          "onPreBootstrap",
          "sourceNodes",
          "createPages",
          "onCreateNode"
      ],
      "browserAPIs": [],
      "ssrAPIs": [],
      "pluginFilepath": "/Users/swyx/Work/browse-gatsby-themes/node_modules/@joshkennedy00/  gatsby-theme-blog-remix"
  }

  - public.js:613 createNode
    [browse-gatsby-themes]/[gatsby]/dist/redux/actions/public.js:613:148

  - public.js:689 dispatch
    [browse-gatsby-themes]/[gatsby]/dist/redux/actions/public.js:689:19

  - index.js:11 
    [browse-gatsby-themes]/[redux-thunk]/lib/index.js:11:18

  - redux.js:481 
    [browse-gatsby-themes]/[redux]/lib/redux.js:481:12

  - api-runner-node.js:75 doubleBoundActionCreators.(anonymous function).args
    [browse-gatsby-themes]/[gatsby]/dist/utils/api-runner-node.js:75:20

  - gatsby-node.js:205 Object.exports.onCreateNode
    [browse-gatsby-themes]/[@joshkennedy00]/gatsby-theme-blog-remix/gatsby-node.js:205:5

  - api-runner-node.js:236 runAPI
    [browse-gatsby-themes]/[gatsby]/dist/utils/api-runner-node.js:236:37

  - api-runner-node.js:358 resolve
    [browse-gatsby-themes]/[gatsby]/dist/utils/api-runner-node.js:358:15

  - debuggability.js:313 Promise._execute
    [browse-gatsby-themes]/[bluebird]/js/release/debuggability.js:313:9

  - promise.js:488 Promise._resolveFromExecutor
    [browse-gatsby-themes]/[bluebird]/js/release/promise.js:488:18

  - promise.js:79 new Promise
    [browse-gatsby-themes]/[bluebird]/js/release/promise.js:79:10

  - api-runner-node.js:357 Promise.mapSeries.plugin
    [browse-gatsby-themes]/[gatsby]/dist/utils/api-runner-node.js:357:12

  - util.js:16 tryCatcher
    [browse-gatsby-themes]/[bluebird]/js/release/util.js:16:23

  - reduce.js:155 Object.gotValue
    [browse-gatsby-themes]/[bluebird]/js/release/reduce.js:155:18

  - reduce.js:144 Object.gotAccum
    [browse-gatsby-themes]/[bluebird]/js/release/reduce.js:144:25

  - util.js:16 Object.tryCatcher
    [browse-gatsby-themes]/[bluebird]/js/release/util.js:16:23

warn The @joshkennedy00/gatsby-theme-blog-remix plugin has generated no Gatsby nodes. Do
you need it?
success source and transform nodes - 1.142 s
warn Plugin `@joshkennedy00/gatsby-theme-blog-remix` tried to define the GraphQL type
`BlogPost`, which has already been defined by the plugin `gatsby-theme-blog`.
success building schema - 0.369 s
success createPages - 0.156 s
success createPagesStatefully - 0.040 s
success onPreExtractQueries - 0.018 s
success update schema - 0.097 s
warn Using the global `graphql` tag is deprecated, and will not be supported in v3.
Import it instead like:  import { graphql } from 'gatsby' in file:
/Users/swyx/Work/browse-gatsby-themes/node_modules/@joshkennedy00/gatsby-theme-blog-remix/s
rc/components/NavLinks.js

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Error: RelayParser: Encountered duplicate defintitions for one or more documents: each document must have a unique name. Duplicated documents:
- BioQuery
swyxio commented 5 years ago

image