Closed mfuery closed 3 years ago
In case this is useful: I uninstalled this plugin via Netlify UI, then Retry Deploy -> Clear Cache. This is the output (successful).
6:35:19 PM: Build ready to start
6:35:21 PM: build-image version: 3571f0130496395a23bffe9820bc78b4f73a6234
6:35:21 PM: build-image tag: v3.7.0
6:35:21 PM: buildbot version: c8ebd612d11de8df807ee80082ae1ebcb899414f
6:35:21 PM: Building without cache
6:35:21 PM: Starting to prepare the repo for build
6:35:21 PM: No cached dependencies found. Cloning fresh repo
6:35:21 PM: git clone https://github.com/localallieshelp/frontend
6:35:22 PM: Preparing Git Reference refs/heads/master
6:35:23 PM: Parsing package.json dependencies
6:35:24 PM: Different publish path detected, going to use the one specified in the Netlify configuration file: 'public' versus 'public/' in the Netlify UI
6:35:24 PM: Different functions path detected, going to use the one specified in the Netlify configuration file: 'netlify/functions' versus '' in the Netlify UI
6:35:24 PM: Starting build script
6:35:24 PM: Installing dependencies
6:35:24 PM: Python version set to 2.7
6:35:26 PM: v12.18.0 is already installed.
6:35:26 PM: Now using node v12.18.0 (npm v6.14.4)
6:35:27 PM: Started restoring cached build plugins
6:35:27 PM: Finished restoring cached build plugins
6:35:27 PM: Attempting ruby version 2.7.1, read from environment
6:35:28 PM: Using ruby version 2.7.1
6:35:29 PM: Using PHP version 5.6
6:35:29 PM: Started restoring cached yarn cache
6:35:29 PM: Finished restoring cached yarn cache
6:35:29 PM: Installing yarn at version 1.22.4
6:35:29 PM: Installing Yarn!
6:35:29 PM: > Downloading tarball...
6:35:29 PM: [1/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz --> /tmp/yarn.tar.gz.texji9RUFm
6:35:29 PM: % Total % Received % Xferd Average Speed Time Time Time Current
6:35:29 PM: Dload Upload Total Spent Left Speed
6:35:29 PM: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
6:35:29 PM: 100 79 100 79 0 0 287 0 --:--:-- --:--:-- --:--:-- 288
6:35:29 PM: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
6:35:29 PM: 100 93 100 93 0 0 165 0 --:--:-- --:--:-- --:--:-- 3321
6:35:30 PM: 100 625 100 625 0 0 748 0 --:--:-- --:--:-- --:--:-- 748
6:35:30 PM: 100 1215k 100 1215k 0 0 985k 0 0:00:01 0:00:01 --:--:-- 985k
6:35:30 PM: [2/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz.asc --> /tmp/yarn.tar.gz.texji9RUFm.asc
6:35:30 PM: 100 83 100 83 0 0 1764 0 --:--:-- --:--:-- --:--:-- 1764
6:35:30 PM: 100 97 100 97 0 0 1282 0 --:--:-- --:--:-- --:--:-- 1282
6:35:30 PM: 100 629 100 629 0 0 6157 0 --:--:-- --:--:-- --:--:-- 6157
6:35:30 PM: 100 1028 100 1028 0 0 9016 0 --:--:-- --:--:-- --:--:-- 9016
6:35:30 PM: > Verifying integrity...
6:35:30 PM: gpg: Signature made Mon 09 Mar 2020 03:52:13 PM UTC using RSA key ID 69475BAA
6:35:30 PM: gpg: Good signature from "Yarn Packaging <yarn@dan.cx>"
6:35:30 PM: gpg: WARNING: This key is not certified with a trusted signature!
6:35:30 PM: gpg: There is no indication that the signature belongs to the owner.
6:35:30 PM: Primary key fingerprint: 72EC F46A 56B4 AD39 C907 BBB7 1646 B01B 86E5 0310
6:35:30 PM: Subkey fingerprint: 6D98 490C 6F1A CDDD 448E 4595 4F77 6793 6947 5BAA
6:35:30 PM: > GPG signature looks good
6:35:30 PM: > Extracting to ~/.yarn...
6:35:30 PM: > Adding to $PATH...
6:35:31 PM: > Successfully installed Yarn 1.22.4! Please open another terminal where the `yarn` command will now be available.
6:35:31 PM: Started restoring cached node modules
6:35:31 PM: Finished restoring cached node modules
6:35:31 PM: Installing NPM modules using Yarn version 1.22.4
6:35:32 PM: yarn install v1.22.4
6:35:32 PM: [1/4] Resolving packages...
6:35:33 PM: [2/4] Fetching packages...
6:35:33 PM: warning Pattern ["bulma@latest"] is trying to unpack in the same destination "/opt/build/.yarn_cache/v6/npm-bulma-0.9.2-340011e119c605f19b8ca886bfea595f1deaf23c-integrity/node_modules/bulma" as pattern ["bulma@^0.9.0"]. This could result in non-deterministic behavior, skipping.
6:35:42 PM: warning url-loader@1.1.2: Invalid bin field for "url-loader".
6:36:22 PM: info fsevents@2.3.2: The platform "linux" is incompatible with this module.
6:36:22 PM: info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
6:36:22 PM: info fsevents@1.2.13: The platform "linux" is incompatible with this module.
6:36:22 PM: info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
6:36:22 PM: [3/4] Linking dependencies...
6:36:22 PM: warning " > css-loader@3.6.0" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
6:36:22 PM: warning "gatsby > @typescript-eslint/eslint-plugin > tsutils@3.21.0" 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".
6:36:22 PM: warning "gatsby > eslint-plugin-graphql > graphql-config > @endemolshinegroup/cosmiconfig-typescript-loader > ts-node@9.1.1" has unmet peer dependency "typescript@>=2.7".
6:36:22 PM: warning "gatsby-plugin-netlify > webpack-assets-manifest@3.1.1" has unmet peer dependency "webpack@>=4.4.0".
6:36:22 PM: warning "gatsby-plugin-sass > sass-loader@10.1.1" has unmet peer dependency "webpack@^4.36.0 || ^5.0.0".
6:36:22 PM: warning "netlify-cms-app > netlify-cms-widget-code@1.2.7" has unmet peer dependency "codemirror@^5.46.0".
6:36:22 PM: warning "netlify-cms-app > netlify-cms-widget-list@2.8.4" has unmet peer dependency "netlify-cms-lib-widgets@^1.6.1".
6:36:22 PM: warning "netlify-cms-app > netlify-cms-widget-relation@2.8.9" has unmet peer dependency "netlify-cms-lib-widgets@^1.6.1".
6:36:22 PM: warning "netlify-cms-app > netlify-cms-widget-select@2.7.4" has unmet peer dependency "netlify-cms-lib-widgets@^1.6.1".
6:36:22 PM: warning "netlify-cms-app > netlify-cms-core > connected-react-router@6.9.1" has unmet peer dependency "react-router@^4.3.1 || ^5.0.0".
6:36:22 PM: warning "netlify-cms-app > netlify-cms-widget-code > react-codemirror2@7.2.1" has unmet peer dependency "codemirror@5.x".
6:36:22 PM: warning "netlify-cms-app > netlify-cms-widget-colorstring > validate-color@2.1.1" has incorrect peer dependency "react@^17.0.1".
6:36:22 PM: warning "netlify-cms-app > netlify-cms-widget-colorstring > validate-color@2.1.1" has incorrect peer dependency "react-dom@^17.0.1".
6:36:22 PM: warning "netlify-cms-app > netlify-cms-core > redux-notifications > react-redux@4.4.10" has incorrect peer dependency "redux@^2.0.0 || ^3.0.0".
6:36:22 PM: warning " > react-icon-base@2.1.2" has unmet peer dependency "prop-types@*".
6:36:22 PM: warning " > react-images@1.1.7" has unmet peer dependency "prop-types@^15.7.2".
6:36:22 PM: warning "react-images > react-full-screen@0.2.5" has unmet peer dependency "prop-types@^15.5".
6:36:22 PM: warning "react-images > react-view-pager@0.6.0" has unmet peer dependency "prop-types@^15.5.8".
6:36:22 PM: warning "react-wow > react-addons-css-transition-group@15.6.2" has incorrect peer dependency "react@^15.4.2".
6:36:22 PM: warning " > style-loader@1.3.0" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
6:36:22 PM: warning " > url-loader@4.1.1" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
6:36:52 PM: [4/4] Building fresh packages...
6:37:03 PM: Done in 91.20s.
6:37:03 PM: NPM modules installed using Yarn
6:37:04 PM: Started restoring cached go cache
6:37:04 PM: Finished restoring cached go cache
6:37:04 PM: go version go1.14.4 linux/amd64
6:37:04 PM: go version go1.14.4 linux/amd64
6:37:04 PM: Installing missing commands
6:37:04 PM: Verify run directory
6:37:06 PM:
6:37:06 PM: ────────────────────────────────────────────────────────────────
6:37:06 PM: Netlify Build
6:37:06 PM: ────────────────────────────────────────────────────────────────
6:37:06 PM:
6:37:06 PM: ❯ Version
6:37:06 PM: @netlify/build 9.10.2
6:37:06 PM:
6:37:06 PM: ❯ Flags
6:37:06 PM: apiHost: api.netlify.com
6:37:06 PM: cacheDir: /opt/build/cache
6:37:06 PM: deployId: 6052ae571d7b88330fe71723
6:37:06 PM: mode: buildbot
6:37:06 PM: testOpts:
6:37:06 PM: silentLingeringProcesses: ''
6:37:06 PM:
6:37:06 PM: ❯ Current directory
6:37:06 PM: /opt/build/repo
6:37:06 PM:
6:37:06 PM: ❯ Config file
6:37:06 PM: No config file was defined: using default values.
6:37:06 PM:
6:37:06 PM: ❯ Context
6:37:06 PM: production
6:37:06 PM:
6:37:06 PM: ────────────────────────────────────────────────────────────────
6:37:06 PM: 1. Build command from Netlify app
6:37:06 PM: ────────────────────────────────────────────────────────────────
6:37:06 PM:
6:37:06 PM: $ yarn build
6:37:06 PM: yarn run v1.22.4
6:37:06 PM: $ gatsby build
6:37:10 PM: success open and validate gatsby-configs - 0.149s
6:37:12 PM: success load plugins - 2.124s
6:37:12 PM: success onPreInit - 0.057s
6:37:12 PM: success delete html and css files from previous builds - 0.004s
6:37:12 PM: success initialize cache - 0.009s
6:37:12 PM: success copy gatsby files - 0.043s
6:37:12 PM: success onPreBootstrap - 0.015s
6:37:12 PM: success createSchemaCustomization - 0.026s
6:37:13 PM: > Data Loaded business.cn.md
6:37:13 PM: > Data Loaded business.en.md
6:37:13 PM: > Data Loaded contact.cn.md
6:37:13 PM: > Data Loaded contact.en.md
6:37:13 PM: > Data Loaded donate.cn.md
6:37:13 PM: > Data Loaded index.cn.md
6:37:13 PM: > Data Loaded index.en.md
6:37:13 PM: > Data Loaded donate.en.md
6:37:13 PM: > Data Loaded story.cn.md
6:37:13 PM: > Data Loaded story.en.md
6:37:13 PM: > Data Loaded business/bird-n-barrel.cn.md
6:37:13 PM: > Data Loaded business/bird-n-barrel.en.md
6:37:13 PM: > Data Loaded business/sau-can-tho.cn.md
6:37:13 PM: > Data Loaded business/sau-can-tho.en.md
6:37:13 PM: > Data Loaded business/thai-chaiyo.cn.md
6:37:13 PM: > Data Loaded business/thai-chaiyo.en.md
6:37:13 PM: > Data Loaded contact/thanks.en.md
6:37:13 PM: > Data Loaded tags/index.cn.md
6:37:13 PM: > Data Loaded tags/index.en.md
6:37:13 PM: > Data Loaded contact/thanks.cn.md
6:37:13 PM: success Checking for changed pages - 0.000s
6:37:13 PM: success source and transform nodes - 0.494s
6:37:13 PM: success building schema - 0.763s
6:37:14 PM: info Total nodes: 206, SitePage nodes: 32 (use --verbose for breakdown)
6:37:14 PM: success createPages - 0.128s
6:37:14 PM: success Checking for changed pages - 0.000s
6:37:14 PM: success createPagesStatefully - 0.134s
6:37:14 PM: success update schema - 0.043s
6:37:14 PM: success onPreExtractQueries - 0.001s
6:37:20 PM: success extract queries from components - 5.865s
6:37:20 PM: success write out redirect data - 0.001s
6:37:20 PM: success Build manifest and related icons - 0.209s
6:37:20 PM: success onPostBootstrap - 0.211s
6:37:20 PM: info bootstrap finished - 13.829s
6:37:20 PM: success run static queries - 0.207s - 2/2 9.66/s
6:37:24 PM: success run page queries - 3.609s - 34/34 9.42/s
6:37:24 PM: success write out requires - 0.007s
6:37:52 PM:
6:37:52 PM: gatsby-plugin-purgecss: Only processing /opt/build/repo/src/components/all.sass
6:38:36 PM: warning "export 'convertNumberSkeletonToNumberFormatOptions' was not found in 'intl-messageformat-parser'
warning "export 'parseDateTimeSkeleton' was not found in 'intl-messageformat-parser'
warning "export 'parseDateTimeSkeleton' was not found in 'intl-messageformat-parser'
success Building production JavaScript and CSS bundles - 72.525s
6:38:37 PM: success Rewriting compilation hashes - 0.002s
6:38:37 PM:
6:38:37 PM: gatsby-plugin-purgecss:
6:38:37 PM: Previous CSS Size: 245.71 KB
6:38:37 PM: New CSS Size: 96.06 KB (-60.90%)
6:38:37 PM: Removed ~149.65 KB of CSS
6:38:37 PM:
6:38:45 PM: success Building HTML renderer - 8.015s
6:38:45 PM: success Building static HTML for pages - 0.786s - 34/34 43.28/s
6:38:45 PM: success Generating image thumbnails - 85.538s - 34/34 0.40/s
6:38:46 PM: info Generated public/sw.js, which will precache 9 files, totaling 512419 bytes.
6:38:46 PM: The following pages will be precached:
6:38:46 PM: /offline-plugin-app-shell-fallback/index.html
6:38:46 PM: success onPostBuild - 0.152s
6:38:46 PM: info Done building in 99.576455392 sec
6:38:46 PM: Done in 100.05s.
6:38:46 PM:
6:38:46 PM: (build.command completed in 1m 40.3s)
6:38:46 PM:
6:38:46 PM: ────────────────────────────────────────────────────────────────
6:38:46 PM: 2. Functions bundling
6:38:46 PM: ────────────────────────────────────────────────────────────────
6:38:46 PM:
6:38:46 PM: Packaging Functions from netlify/functions directory:
6:38:46 PM: - square.js
6:38:49 PM:
6:38:49 PM: (Functions bundling completed in 2.8s)
6:38:49 PM:
6:38:49 PM: ────────────────────────────────────────────────────────────────
6:38:49 PM: 3. Deploy site
6:38:49 PM: ────────────────────────────────────────────────────────────────
6:38:49 PM:
6:38:49 PM: Starting to deploy site from 'public'
6:38:49 PM: Creating deploy tree
6:38:49 PM: Creating deploy upload records
6:38:49 PM: 3 new files to upload
6:38:49 PM: 0 new functions to upload
6:38:49 PM: Site deploy was successfully initiated
6:38:49 PM:
6:38:49 PM: (Deploy site completed in 585ms)
6:38:49 PM:
6:38:49 PM: ────────────────────────────────────────────────────────────────
6:38:49 PM: Netlify Build Complete
6:38:49 PM: ────────────────────────────────────────────────────────────────
6:38:49 PM:
6:38:49 PM: (Netlify Build completed in 1m 43.8s)
6:38:50 PM: Caching artifacts
6:38:50 PM: Started saving node modules
6:38:50 PM: Finished saving node modules
6:38:50 PM: Started saving build plugins
6:38:50 PM: Finished saving build plugins
6:38:50 PM: Started saving yarn cache
6:38:50 PM: Finished saving yarn cache
6:38:50 PM: Started saving pip cache
6:38:50 PM: Finished saving pip cache
6:38:50 PM: Started saving emacs cask dependencies
6:38:50 PM: Finished saving emacs cask dependencies
6:38:50 PM: Started saving maven dependencies
6:38:50 PM: Finished saving maven dependencies
6:38:50 PM: Started saving boot dependencies
6:38:50 PM: Finished saving boot dependencies
6:38:50 PM: Started saving rust rustup cache
6:38:50 PM: Finished saving rust rustup cache
6:38:50 PM: Started saving go dependencies
6:38:50 PM: Finished saving go dependencies
6:38:50 PM: Starting post processing
6:38:50 PM: Post processing - HTML
6:38:50 PM: Processing form - contact
6:38:50 PM: Detected form fields:
6:38:50 PM: - name
6:38:50 PM: - email
6:38:50 PM: - subject
6:38:50 PM: - message
6:38:50 PM: Post processing - header rules
6:38:50 PM: Post processing - redirect rules
6:38:50 PM: Post processing done
6:38:51 PM: Site is live ✨
6:38:53 PM: Build script success
hey, y'all! this plugin has been replaced by https://github.com/netlify/netlify-plugin-gatsby, which is an official Netlify plugin. if you see this issue again, please switch to that plugin and see if things clear up. thanks!
When I enable this plugin in Netlify config UI, builds consistently fails at:
const imageSEO = frontmatter.image.childImageSharp.fluid.src
WebpackError: TypeError: Cannot read property 'childImageSharp' of null
(see full output below)The build succeeds the 1st time and fails each subsequent time. This indicates to me that something about the cache is not quite right.
Without this plugin netlify builds and publishes, no problem.
Perhaps relevant: locally, when I would get this error, I would have to run
gatsby clean
(or delete.cache
folder). Then dev+builds work.Thanks for any insight!