Gatsby: [gatsby-source-filesystem] 创建一个由 [gatsby-source-wordpress] 拥有的“文件”节点

创建于 2017-10-02  ·  1评论  ·  资料来源: gatsbyjs/gatsby

  Error: The plugin "gatsby-source-filesystem" created a node of a type owned by another plugin.
          The node type "File" is owned by "gatsby-source-wordpress".
          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":

将媒体添加到全新的自托管 wordpress 安装后,此错误开始出现。 有没有一种简单的方法可以更改文件系统创建的节点的 ID?

最有用的评论

嗯,这是一个错误。 我会把它分配给自己,因为解决起来有点棘手。 希望能尽快实现。

>所有评论

嗯,这是一个错误。 我会把它分配给自己,因为解决起来有点棘手。 希望能尽快实现。

此页面是否有帮助?
0 / 5 - 0 等级