Gatsby source ghost ОШИБКА # 11321 Ошибка плагина: подключите ECONNREFUSED 127.0.0.1:2368 - PullRequest
0 голосов
/ 30 мая 2020
success open and validate gatsby-configs - 1.140s
success load plugins - 40.518s
success onPreInit - 0.474s
success initialize cache - 0.083s
success copy gatsby files - 2.857s
warn gatsby-plugin-feed was initialized in gatsby-config.js without a title in a feed.        
This means that the plugin will use the default feed title, which may not match your use case.
This behavior will be removed in the next major release of gatsby-plugin-feed.
For more info, check out: https://gatsby.dev/adding-rss-feed
success onPreBootstrap - 0.337s
success createSchemaCustomization - 0.020s

 ERROR #11321  PLUGIN

"gatsby-source-ghost" threw an error while running the sourceNodes lifecycle:

connect ECONNREFUSED 127.0.0.1:2368

  118 |     });
  119 | 
> 120 |     return Promise.all([fetchPosts, fetchPages, fetchTags, fetchAuthors, fetchSettings]);
      |                    ^
  121 | };
  122 | 
  123 | /**




File: node_modules\gatsby-source-ghost\gatsby-node.js:120:20



  Error: connect ECONNREFUSED 127.0.0.1:2368

  - From previous event:

  - gatsby-node.js:120 createLiveGhostNodes
    [my-gatsby-site]/[gatsby-source-ghost]/gatsby-node.js:120:20

  - gatsby-node.js:155 Object.exports.sourceNodes
    [my-gatsby-site]/[gatsby-source-ghost]/gatsby-node.js:155:12

  - api-runner-node.js:256 runAPI
    [my-gatsby-site]/[gatsby]/dist/utils/api-runner-node.js:256:37

  - api-runner-node.js:375 Promise.catch.decorateEvent.pluginName
    [my-gatsby-site]/[gatsby]/dist/utils/api-runner-node.js:375:15

  - From previous event:

  - api-runner-node.js:374 
    [my-gatsby-site]/[gatsby]/dist/utils/api-runner-node.js:374:12

  - timers.js:439 processImmediate
    internal/timers.js:439:21

  - From previous event:

  - api-runner-node.js:368 
    [my-gatsby-site]/[gatsby]/dist/utils/api-runner-node.js:368:11

  - From previous event:

  - api-runner-node.js:275 module.exports
    [my-gatsby-site]/[gatsby]/dist/utils/api-runner-node.js:275:12

  - source-nodes.js:84 Object._default [as default]
    [my-gatsby-site]/[gatsby]/dist/utils/source-nodes.js:84:36

  - index.js:384 module.exports
    [my-gatsby-site]/[gatsby]/dist/bootstrap/index.js:384:49

  - develop-process.js:459 async module.exports
    [my-gatsby-site]/[gatsby]/dist/commands/develop-process.js:459:7

Я пытаюсь запустить образец проекта Gatsby, представленный на https://ghost.org/docs/api/v3/gatsby/, просто чтобы посмотреть, как Ghost CMS подключена к интерфейсу Gatsby. Независимо от того, что я делаю, я получаю ту же ошибку.

Итак, я почти все пробовал отлаживать это. Пробовал как на Ubuntu, так и на Windows 10, я получал точно такую ​​же ошибку, я пытался удалить модули узлов и переустановить все зависимости, ничего не работает, и я не смог найти жизнеспособное решение в Интернете.

Я действительно думал, что запустить Ghost вместе с Gatsby будет совсем несложно, но подобная глупая ошибка может сильно демотивировать. Пожалуйста, помогите новичку!

...