Проблема с Гэтсби при развертывании на Netlify
Я работал на сайте Gatsby, используя плагин wordpress graphql для извлечения данных из Wordpress как CMS. До недавнего времени развертывания начинали сбои из-за неизвестной проблемы, я хочу поделиться журналом ошибок, представленным в Netlify. Если я отброшу папку, приложение запускается, но если я использую команду git для запуска развертывания, оно не работает. Я имею в виду, что он работает нормально, поскольку он должен работать, когда я перетаскиваю общую папку, но не когда я использую команду git, не знаю почему. Похоже, проблема с путями, но приложение все равно работает при удалении папки в каталоге. Любая идея?
11:29:53 PM: Build ready to start
11:29:55 PM: build-image version: f72dfd0e8463dbecb2fd70e9fce5154c4f652a32
11:29:55 PM: build-image tag: v3.3.11
11:29:55 PM: buildbot version: 0491622b534ec97319921a4d5a5618bf0cab9974
11:29:55 PM: Fetching cached dependencies
11:29:55 PM: Starting to download cache of 224.0MB
11:29:57 PM: Finished downloading cache in 1.441317456s
11:29:57 PM: Starting to extract cache
11:30:08 PM: Finished extracting cache in 10.817774958s
11:30:08 PM: Finished fetching cache in 12.322136594s
11:30:08 PM: Starting to prepare the repo for build
11:30:08 PM: Preparing Git Reference refs/heads/master
11:30:09 PM: Starting build script
11:30:09 PM: Installing dependencies
11:30:09 PM: Started restoring cached node version
11:30:14 PM: Finished restoring cached node version
11:30:14 PM: v10.20.1 is already installed.
11:30:16 PM: Now using node v10.20.1 (npm v6.14.4)
11:30:16 PM: Attempting ruby version 2.6.2, read from environment
11:30:17 PM: Using ruby version 2.6.2
11:30:18 PM: Using PHP version 5.6
11:30:18 PM: 5.2 is already installed.
11:30:18 PM: Using Swift version 5.2
11:30:18 PM: Started restoring cached node modules
11:30:18 PM: Finished restoring cached node modules
11:30:18 PM: Started restoring cached go cache
11:30:18 PM: Finished restoring cached go cache
11:30:18 PM: go version go1.12 linux/amd64
11:30:18 PM: go version go1.12 linux/amd64
11:30:18 PM: Installing missing commands
11:30:18 PM: Verify run directory
11:30:18 PM: Executing user command: gatsby build
11:30:20 PM: success open and validate gatsby-configs - 0.069s
11:30:21 PM: success load plugins - 0.934s
11:30:21 PM: success onPreInit - 0.002s
11:30:21 PM: success delete html and css files from previous builds - 0.013s
11:30:21 PM: success initialize cache - 0.006s
11:30:21 PM: success copy gatsby files - 0.038s
11:30:21 PM: success onPreBootstrap - 0.013s
11:30:21 PM: success createSchemaCustomization - 0.004s
11:30:23 PM: success source and transform nodes - 1.931s
11:30:23 PM: success building schema - 0.304s
11:30:24 PM: [ [Object: null prototype] { title: 'Evalúa tu compromiso con la fe que agrada a Dios' },
11:30:24 PM: [Object: null prototype] { title: 'El dominio propio' },
11:30:24 PM: [Object: null prototype] { title: 'El ministerio de los Ángeles' },
11:30:24 PM: [Object: null prototype] { title: 'El ministerio de Satanás' },
11:30:24 PM: [Object: null prototype] { title: 'Servirle a Dios – el enfoque' },
11:30:24 PM: [Object: null prototype] { title: 'Servirle a Dios – fe y entrega' },
11:30:24 PM: [Object: null prototype] { title: 'Servirle a Dios – se relevante en el cielo' },
11:30:24 PM: [Object: null prototype] { title: 'Semillas de amor que sanan' },
11:30:24 PM: [Object: null prototype] { title: 'Bienaventurado' },
11:30:24 PM: [Object: null prototype] { title: 'El juzgar a los demás' },
11:30:24 PM: [Object: null prototype] { title: 'El ministerio quíntuple' },
11:30:24 PM: [Object: null prototype] { title: 'La Iglesia herida' },
11:30:24 PM: [Object: null prototype] { title: 'Ordénale a tu alma' },
11:30:24 PM: [Object: null prototype] { title: 'Libres para testificar' },
11:30:24 PM: [Object: null prototype] { title: 'La provisión de Dios' },
11:30:24 PM: [Object: null prototype] { title: 'El cuidado de Dios' },
11:30:24 PM: [Object: null prototype] { title: 'Añádele vida a tu vida' } ]
11:30:24 PM: success createPages - 0.546s
11:30:24 PM: success createPagesStatefully - 0.081s
11:30:24 PM: success onPreExtractQueries - 0.000s
11:30:24 PM: success update schema - 0.026s
11:30:25 PM: success extract queries from components - 0.447s
11:30:25 PM: success write out requires - 0.003s
11:30:25 PM: success write out redirect data - 0.001s
11:30:25 PM: success Build manifest and related icons - 0.335s
11:30:25 PM: success onPostBootstrap - 0.337s
11:30:25 PM: ⠀
11:30:25 PM: info bootstrap finished - 6.952 s
11:30:25 PM: ⠀
11:30:57 PM: failed Building production JavaScript and CSS bundles - 30.790s
11:30:57 PM: error Generating JavaScript bundles failed
11:30:57 PM: Can't resolve '../../components/Categories' in '/opt/build/repo/src/components/template'
11:30:57 PM: error Generating JavaScript bundles failed
11:30:57 PM: Can't resolve '../../components/Footer' in '/opt/build/repo/src/components/layout'
11:30:57 PM: error Generating JavaScript bundles failed
11:30:57 PM: Can't resolve '../../components/HeaderPosts' in '/opt/build/repo/src/components/template'
11:30:57 PM: error Generating JavaScript bundles failed
11:30:57 PM: Can't resolve '../../components/MetaTags' in '/opt/build/repo/src/components/template'
11:30:57 PM: error Generating JavaScript bundles failed
11:30:57 PM: Can't resolve '../../components/Navigation' in '/opt/build/repo/src/components/layout'
11:30:57 PM: error Generating JavaScript bundles failed
11:30:57 PM: Can't resolve '../../components/RecentPosts' in '/opt/build/repo/src/components/template'
11:30:57 PM: error Generating JavaScript bundles failed
11:30:57 PM: Can't resolve '../components/Categories' in '/opt/build/repo/src/pages'
11:30:57 PM: error Generating JavaScript bundles failed
11:30:57 PM: Can't resolve '../components/Categories' in '/opt/build/repo/src/pages'
11:30:57 PM: error Generating JavaScript bundles failed
11:30:57 PM: Can't resolve '../components/Categories' in '/opt/build/repo/src/pages'
11:30:57 PM: error Generating JavaScript bundles failed
11:30:57 PM: Can't resolve '../components/Categories' in '/opt/build/repo/src/pages'
11:30:57 PM: error Generating JavaScript bundles failed
11:30:57 PM: Can't resolve '../components/MetaTags' in '/opt/build/repo/src/pages'
11:30:57 PM: error Generating JavaScript bundles failed
11:30:57 PM: Can't resolve '../components/MetaTags' in '/opt/build/repo/src/pages'
11:30:57 PM: error Generating JavaScript bundles failed
11:30:57 PM: Can't resolve '../components/MetaTags' in '/opt/build/repo/src/pages'
11:30:57 PM: error Generating JavaScript bundles failed
11:30:57 PM: Can't resolve '../components/MetaTags' in '/opt/build/repo/src/pages'
11:30:57 PM: error Generating JavaScript bundles failed
11:30:57 PM: Can't resolve '../components/MetaTags' in '/opt/build/repo/src/pages'
11:30:57 PM: error Generating JavaScript bundles failed
11:30:57 PM: Can't resolve '../components/MetaTags' in '/opt/build/repo/src/pages'
11:30:57 PM: error Generating JavaScript bundles failed
11:30:57 PM: Can't resolve '../components/MetaTags' in '/opt/build/repo/src/pages'
11:30:57 PM: error Generating JavaScript bundles failed
11:30:57 PM: Can't resolve '../components/RecentPosts' in '/opt/build/repo/src/pages'
11:30:57 PM: error Generating JavaScript bundles failed
11:30:57 PM: Can't resolve '../components/RecentPosts' in '/opt/build/repo/src/pages'
11:30:57 PM: error Generating JavaScript bundles failed
11:30:57 PM: Can't resolve '../components/RecentPosts' in '/opt/build/repo/src/pages'
11:30:57 PM: error Generating JavaScript bundles failed
11:30:57 PM: Can't resolve '../components/RecentPosts' in '/opt/build/repo/src/pages'
11:30:57 PM: not finished run queries - 31.890s
11:30:57 PM: not finished Generating image thumbnails - 31.859s
11:30:57 PM: Skipping functions preparation step: no functions directory set
11:30:57 PM: Caching artifacts
11:30:57 PM: Started saving node modules
11:30:57 PM: Finished saving node modules
11:30:57 PM: Started saving pip cache
11:30:57 PM: Finished saving pip cache
11:30:57 PM: Started saving emacs cask dependencies
11:30:57 PM: Finished saving emacs cask dependencies
11:30:57 PM: Started saving maven dependencies
11:30:57 PM: Finished saving maven dependencies
11:30:57 PM: Started saving boot dependencies
11:30:57 PM: Finished saving boot dependencies
11:30:57 PM: Started saving go dependencies
11:30:57 PM: Finished saving go dependencies
11:30:57 PM: Error running command: Build script returned non-zero exit code: 1
11:30:57 PM: Failing build: Failed to build site
11:30:57 PM: Failed during stage 'building site': Build script returned non-zero exit code: 1
11:30:57 PM: Finished processing build request in 1m2.339720411s