I am getting a deployment failure when trying to build my site. It seems to stem from the following lines in the log:
9:21:24 AM: The path passed to gatsby-source-filesystem does not exist on your file system:
9:21:24 AM: /opt/build/repo/src/images/galleries/
9:21:24 AM: Please pick a path to an existing directory.
The path is to a collection of image folders. I’m wondering if this might be an issue with the limit of image files allowed ? The gatsby build command runs successfully locally, so I am currently stumped with the error. Any assistance is appreciated. Thank you
The site is kind-aryabhata-547ae6
The entire build log below:
9:20:13 AM: Build ready to start
9:20:15 AM: build-image version: 2dbd444fcdce00cf06325060a8238d5ae3e86774
9:20:15 AM: build-image tag: v3.3.7
9:20:15 AM: buildbot version: 901ee546b8b58e3bf9bdb8b69f0521510bb8ca29
9:20:15 AM: Fetching cached dependencies
9:20:16 AM: Failed to fetch cache, continuing with build
9:20:16 AM: Starting to prepare the repo for build
9:20:16 AM: No cached dependencies found. Cloning fresh repo
9:20:16 AM: git clone https://github.com/truehello/gatsby-photography-tailwind
9:20:26 AM: Preparing Git Reference refs/heads/master
9:20:28 AM: Starting build script
9:20:28 AM: Installing dependencies
9:20:29 AM: Downloading and installing node v10.20.0...
9:20:29 AM: Downloading https://nodejs.org/dist/v10.20.0/node-v10.20.0-linux-x64.tar.xz...
9:20:30 AM:
#######
9:20:30 AM: 9.9%
9:20:30 AM:
#######################################
9:20:30 AM: ################################# 100.0%
9:20:30 AM: Computing checksum with sha256sum
9:20:30 AM: Checksums matched!
9:20:33 AM: Now using node v10.20.0 (npm v6.14.4)
9:20:33 AM: Attempting ruby version 2.6.2, read from environment
9:20:34 AM: Using ruby version 2.6.2
9:20:35 AM: Using PHP version 5.6
9:20:35 AM: Started restoring cached node modules
9:20:35 AM: Finished restoring cached node modules
9:20:35 AM: Started restoring cached yarn cache
9:20:35 AM: Finished restoring cached yarn cache
9:20:35 AM: Installing yarn at version 1.17.0
9:20:35 AM: Installing Yarn!
9:20:35 AM: > Downloading tarball...
9:20:35 AM: [
9:20:35 AM: 1
9:20:35 AM: /
9:20:35 AM: 2
9:20:35 AM: ]
9:20:35 AM: :
9:20:35 AM: h
9:20:35 AM: t
9:20:35 AM: t
9:20:35 AM: p
9:20:35 AM: s
9:20:35 AM: :
9:20:35 AM: /
9:20:35 AM: /
9:20:35 AM: y
9:20:35 AM: a
9:20:35 AM: r
9:20:35 AM: n
9:20:35 AM: p
9:20:35 AM: k
9:20:35 AM: g
9:20:35 AM: .
9:20:35 AM: c
9:20:35 AM: o
9:20:35 AM: m
9:20:35 AM: /
9:20:35 AM: d
9:20:35 AM: o
9:20:35 AM: w
9:20:35 AM: n
9:20:35 AM: l
9:20:35 AM: o
9:20:35 AM: a
9:20:35 AM: d
9:20:35 AM: s
9:20:35 AM: /
9:20:35 AM: 1
9:20:35 AM: .
9:20:35 AM: 1
9:20:35 AM: 7
9:20:35 AM: .
9:20:35 AM: 0
9:20:35 AM: /
9:20:35 AM: y
9:20:35 AM: a
9:20:35 AM: r
9:20:35 AM: n
9:20:35 AM: -
9:20:35 AM: v
9:20:35 AM: 1
9:20:35 AM: .
9:20:35 AM: 1
9:20:35 AM: 7
9:20:35 AM: .
9:20:35 AM: 0
9:20:35 AM: .
9:20:35 AM: t
9:20:35 AM: a
9:20:35 AM: r
9:20:35 AM: .
9:20:35 AM: g
9:20:35 AM: z
9:20:35 AM: -
9:20:35 AM: -
9:20:35 AM: >
9:20:35 AM: /
9:20:35 AM: t
9:20:35 AM: m
9:20:35 AM: p
9:20:35 AM: /
9:20:35 AM: y
9:20:35 AM: a
9:20:35 AM: r
9:20:35 AM: n
9:20:35 AM: .
9:20:35 AM: t
9:20:35 AM: a
9:20:35 AM: r
9:20:35 AM: .gz.HtcM2iGEVY
9:20:35 AM: % Total % Rece
9:20:35 AM: ived % Xferd Average Speed Time Time
9:20:35 AM: Time Current
9:20:35 AM: Dload Upl
9:20:35 AM: oad Total Spent
9:20:35 AM: Left Speed
9:20:35 AM: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
9:20:35 AM: 0
9:20:35 AM:
100
9:20:35 AM: 80 100 80 0 0 218 0 --:--:-- --:--:-- --:--:-- 219
9:20:35 AM:
0 0 0 0 0 0 0
9:20:35 AM: 0 --:--:-- --:--:-- --:--:-- 0
9:20:36 AM:
100 93 100 93 0 0 134 0 -
9:20:36 AM: -:--:-- --:--:-- --:--:-- 390
9:20:36 AM: 1
9:20:36 AM: 0
9:20:36 AM: 0
9:20:36 AM: 6
9:20:36 AM: 3
9:20:36 AM: 0
9:20:36 AM: 1
9:20:36 AM: 0
9:20:36 AM: 0
9:20:36 AM: 6
9:20:36 AM: 3
9:20:36 AM: 0
9:20:36 AM: 0
9:20:36 AM: 0
9:20:36 AM: 6
9:20:36 AM: 5
9:20:36 AM: 5
9:20:36 AM: 0
9:20:36 AM: -
9:20:36 AM: -
9:20:36 AM: :
9:20:36 AM: -
9:20:36 AM: -
9:20:36 AM: :
9:20:36 AM: -
9:20:36 AM: -
9:20:36 AM: -
9:20:36 AM: -
9:20:36 AM: :
9:20:36 AM: -
9:20:36 AM: -
9:20:36 AM: :
9:20:36 AM: -
9:20:36 AM: -
9:20:36 AM: -
9:20:36 AM: -
9:20:36 AM: :
9:20:36 AM: -
9:20:36 AM: -
9:20:36 AM: :
9:20:36 AM: -
9:20:36 AM: -
9:20:36 AM: 6
9:20:36 AM: 5
9:20:36 AM: 5
9:20:36 AM:
1 1213k 1 16970 0 0 11711 0 0:01:46 0:00:01 0
9:20:36 AM: :01:45 11711
9:20:36 AM:
100 1213k 100 1213k 0 0 760k 0 0:00:01 0:00:01 -
9:20:36 AM: -:--:-- 8141k
9:20:36 AM: [2/2]: https://yarnpkg.com/downloads/1.17.0/yarn-v1.17.0.tar.gz.asc --> /tmp/yarn.tar.gz.HtcM2iGEVY.asc
9:20:36 AM:
100 84 100 84 0 0 2420
9:20:36 AM: 0 --:--:-- --:--:-- --:--:-- 2420
9:20:37 AM: 1
9:20:37 AM: 0
9:20:37 AM: 0
9:20:37 AM: 9
9:20:37 AM: 7
9:20:37 AM: 1
9:20:37 AM: 0
9:20:37 AM: 0
9:20:37 AM: 9
9:20:37 AM: 7
9:20:37 AM: 0
9:20:37 AM: 0
9:20:37 AM: 1
9:20:37 AM: 5
9:20:37 AM: 6
9:20:37 AM: 9
9:20:37 AM: 0
9:20:37 AM: -
9:20:37 AM: -
9:20:37 AM: :
9:20:37 AM: -
9:20:37 AM: -
9:20:37 AM: :
9:20:37 AM: -- --:--:-- --:
9:20:37 AM: --:-- 1569
9:20:37 AM:
100 634 100 634 0 0 6454 0 --:--:-- --:--:-- --:--:-- 6454
9:20:37 AM:
100 832 100 832 0 0 5874 0 --:--:-- --:--:-- --:--:-- 5874
9:20:37 AM: > Verifying integrity...
9:20:37 AM: gpg: Signature made Fri 14 Jun 2019 06:55:58 PM UTC using RSA key ID 69475BAA
9:20:37 AM: gpg: Good signature from "Yarn Packaging <yarn@dan.cx>"
9:20:37 AM: gpg: WARNING: This key is not certified with a trusted signature!
9:20:37 AM: gpg: There is no indication that the signature belongs to the owner.
9:20:37 AM: Primary key fingerprint: 72EC F46A 56B4 AD39 C907
9:20:37 AM: BBB7 1646 B01B 86E5 0310
9:20:37 AM: Subkey fingerprint: 6D98 490C 6F1A CDDD 448E 4595 4F77 6793 6947 5BAA
9:20:37 AM: > GPG signature looks good
9:20:37 AM: > Extracting to ~/.yarn...
9:20:37 AM: > Adding to $PATH...
9:20:37 AM: > Successfully installed Yarn 1.17.0! Please open another terminal where the `yarn` command will now be available.
9:20:38 AM: Installing NPM modules using Yarn version 1.17.0
9:20:39 AM: yarn install v1.17.0
9:20:39 AM: [1/4] Resolving packages...
9:20:40 AM: [2/4] Fetching packages...
9:21:05 AM: info fsevents@2.1.2: The platform "linux" is incompatible with this module.
9:21:05 AM: info "fsevents@2.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.
9:21:05 AM: info fsevents@1.2.11: The platform "linux" is incompatible with this module.
9:21:05 AM: info "fsevents@1.2.11" is an optional dependency and failed compatibility check. Excluding it from installation.
9:21:05 AM: [3/4] Linking dependencies...
9:21:05 AM: warning "gatsby > react-hot-loader@4.12.20" has unmet peer dependency "@types/react@^15.0.0 || ^16.0.0".
9:21:05 AM: warning "gatsby > @typescript-eslint/eslint-plugin > tsutils@3.17.1" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
9:21:16 AM: [4/4] Building fresh packages...
9:21:20 AM: Done in 41.45s.
9:21:20 AM: NPM modules installed using Yarn
9:21:20 AM: Started restoring cached go cache
9:21:20 AM: Finished restoring cached go cache
9:21:20 AM: unset GOOS;
9:21:20 AM: unset GOARCH;
9:21:20 AM: export GOROOT='/opt/buildhome/.gimme/versions/go1.12.linux.amd64';
9:21:20 AM: export PATH="/opt/buildhome/.gimme/versions/go1.12.linux.amd64/bin:${PATH}";
9:21:20 AM: go version >&2;
9:21:20 AM: export GIMME_ENV='/opt/buildhome/.gimme/env/go1.12.linux.amd64.env';
9:21:20 AM: go version go1.12 linux/amd64
9:21:20 AM: Installing missing commands
9:21:20 AM: Verify run directory
9:21:20 AM: Executing user command: yarn build
9:21:21 AM: yarn run v1.17.0
9:21:21 AM: $ gatsby build
9:21:23 AM: success open and validate gatsby-configs - 0.064s
9:21:24 AM: success load plugins - 0.911s
9:21:24 AM: success onPreInit - 0.003s
9:21:24 AM: success delete html and css files from previous builds - 0.015s
9:21:24 AM: success initialize cache - 0.009s
9:21:24 AM: success copy gatsby files - 0.089s
9:21:24 AM: success onPreBootstrap - 0.036s
9:21:24 AM: success createSchemaCustomization - 0.010s
9:21:24 AM: error
9:21:24 AM: The path passed to gatsby-source-filesystem does not exist on your file system:
9:21:24 AM: /opt/build/repo/src/images/galleries/
9:21:24 AM: Please pick a path to an existing directory.
9:21:24 AM: See docs here - https://www.gatsbyjs.org/packages/gatsby-source-filesystem/
9:21:24 AM: not finished source and transform nodes - 0.045s
9:21:25 AM: error Command failed with exit code 1.
9:21:25 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
9:21:25 AM: Skipping functions preparation step: no functions directory set
9:21:25 AM: Caching artifacts
9:21:25 AM: Started saving node modules
9:21:25 AM: Finished saving node modules
9:21:25 AM: Started saving yarn cache
9:21:25 AM: Finished saving yarn cache
9:21:25 AM: Started saving pip cache
9:21:25 AM: Finished saving pip cache
9:21:25 AM: Started saving emacs cask dependencies
9:21:25 AM: Finished saving emacs cask dependencies
9:21:25 AM: Started saving maven dependencies
9:21:25 AM: Finished saving maven dependencies
9:21:25 AM: Started saving boot dependencies
9:21:25 AM: Finished saving boot dependencies
9:21:25 AM: Started saving go dependencies
9:21:25 AM: Finished saving go dependencies
9:21:32 AM: Error running command: Build script returned non-zero exit code: 1
9:21:32 AM: Failing build: Failed to build site
9:21:32 AM: failed during stage 'building site': Build script returned non-zero exit code: 1
9:21:32 AM: Finished processing build request in 1m16.586546629s