盖茨比问题部署到Netlify

时间:2020-05-19 03:42:02

标签: gatsby wp-graphql

我一直在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

0 个答案:

没有答案