Hi - I’ve been building / deploying this site for some time now. But this afternoon (20230609) between 1515 at 1628 UK time, something changed resulting in netlify-plugin-subfont failing. The site still deploys (thankfully) but I’d like to get to the bottom of what has changed.
netlify site name: adorable-lily-c323ac.netlify.app
Failed build log attached below (at 1628 UK time). Also attached is a successful build (from 1515)
I’ve rolled back the commit between the two builds (updating npm packages, adding a sitemap) but the issue is still there after reverting to the earlier commit…
Any ideas?
Failed
4:28:35 PM: build-image version: 3b96229e32b19cdf63f20dc1fc9331cd240c2d01 (focal)
4:28:35 PM: buildbot version: 3b96229e32b19cdf63f20dc1fc9331cd240c2d01
4:28:36 PM: Fetching cached dependencies
4:28:36 PM: Starting to download cache of 432.6MB
4:28:40 PM: Finished downloading cache in 4.675s
4:28:40 PM: Starting to extract cache
4:28:42 PM: Finished extracting cache in 1.669s
4:28:42 PM: Finished fetching cache in 6.416s
4:28:42 PM: Starting to prepare the repo for build
4:28:42 PM: Preparing Git Reference refs/heads/main
4:28:59 PM: Starting to install dependencies
4:28:59 PM: Python version set to 3.8
4:28:59 PM: Attempting Ruby version 2.7.2, read from environment
4:29:00 PM: Using Ruby version 2.7.2
4:29:00 PM: Started restoring cached go cache
4:29:00 PM: Finished restoring cached go cache
4:29:00 PM: go version go1.19.10 linux/amd64
4:29:00 PM: Using PHP version 8.0
4:29:00 PM: Installing Hugo 0.112.5
4:29:02 PM: hugo v0.112.5-48e33e10af2feb2a0e1c32d04880ed016619f2d8+extended linux/amd64 BuildDate=2023-05-29T07:27:36Z VendorInfo=gohugoio
4:29:02 PM: Started restoring cached Node.js version
4:29:04 PM: Finished restoring cached Node.js version
4:29:04 PM: v16.20.0 is already installed.
4:29:04 PM: Now using node v16.20.0 (npm v8.19.4)
4:29:04 PM: Enabling Node.js Corepack
4:29:05 PM: Started restoring cached build plugins
4:29:05 PM: Finished restoring cached build plugins
4:29:05 PM: Started restoring cached corepack dependencies
4:29:05 PM: Finished restoring cached corepack dependencies
4:29:05 PM: No npm workspaces detected
4:29:05 PM: Started restoring cached node modules
4:29:05 PM: Finished restoring cached node modules
4:29:05 PM: Installing npm packages using npm version 8.19.4
4:29:07 PM: npm WARN deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
4:29:08 PM: npm WARN deprecated intl-messageformat-parser@1.8.1: We've written a new parser that's 6x faster and is backwards compatible. Please use @formatjs/icu-messageformat-parser
4:29:08 PM: npm WARN deprecated @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
4:29:08 PM: npm WARN deprecated puppeteer@18.2.1: < 19.4.0 is no longer supported
4:29:08 PM: npm WARN deprecated @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
4:29:09 PM: npm WARN deprecated @hapi/address@2.1.4: Moved to 'npm install @sideway/address'
4:29:09 PM: npm WARN deprecated @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
4:29:09 PM: npm WARN deprecated @hapi/joi@15.1.1: Switch to 'npm install joi'
4:29:10 PM: npm WARN deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
4:29:15 PM: added 647 packages, and audited 648 packages in 10s
4:29:15 PM: 106 packages are looking for funding
4:29:15 PM: run `npm fund` for details
4:29:15 PM: found 0 vulnerabilities
4:29:15 PM: npm packages installed
4:29:15 PM: Install dependencies script success
4:29:15 PM: Starting build script
4:29:16 PM: Detected 2 framework(s)
4:29:16 PM: "hugo" at version "unknown"
4:29:16 PM: "zola" at version "unknown"
4:29:16 PM: Section completed: initializing
4:29:17 PM:
4:29:17 PM: Netlify Build
4:29:17 PM: ────────────────────────────────────────────────────────────────
4:29:17 PM:
4:29:17 PM: ❯ Version
4:29:17 PM: @netlify/build 29.12.1
4:29:17 PM:
4:29:17 PM: ❯ Flags
4:29:17 PM: baseRelDir: true
4:29:17 PM: buildId: 648345218c8c120008d183d7
4:29:17 PM: deployId: 648345218c8c120008d183d9
4:29:17 PM:
4:29:17 PM: ❯ Current directory
4:29:17 PM: /opt/build/repo
4:29:17 PM:
4:29:17 PM: ❯ Config file
4:29:17 PM: /opt/build/repo/netlify.toml
4:29:17 PM:
4:29:17 PM: ❯ Context
4:29:17 PM: production
4:29:17 PM:
4:29:17 PM: ❯ Installing plugins
4:29:17 PM: - netlify-plugin-subfont@6.0.0
4:29:25 PM:
4:29:25 PM: ❯ Loading plugins
4:29:25 PM: - netlify-plugin-subfont@6.0.0 from netlify.toml
4:29:25 PM: - @netlify/plugin-lighthouse@4.1.1 from netlify.toml and package.json
4:29:27 PM:
4:29:27 PM: Build command from Netlify app
4:29:27 PM: ────────────────────────────────────────────────────────────────
4:29:27 PM:
4:29:27 PM: $ hugo
4:29:27 PM: Start building sites …
4:29:27 PM: hugo v0.112.5-48e33e10af2feb2a0e1c32d04880ed016619f2d8+extended linux/amd64 BuildDate=2023-05-29T07:27:36Z VendorInfo=gohugoio
4:29:39 PM: | EN
4:29:39 PM: -------------------+-------
4:29:39 PM: Pages | 39
4:29:39 PM: Paginator pages | 2
4:29:39 PM: Non-page files | 1
4:29:39 PM: Static files | 1724
4:29:39 PM: Processed images | 69
4:29:39 PM: Aliases | 1
4:29:39 PM: Sitemaps | 1
4:29:39 PM: Cleaned | 0
4:29:39 PM: Total in 12228 ms
4:29:39 PM:
4:29:39 PM: (build.command completed in 12.2s)
4:29:39 PM:
4:29:39 PM: netlify-plugin-subfont (onPostBuild event)
4:29:39 PM: ────────────────────────────────────────────────────────────────
4:29:39 PM:
4:29:39 PM: Running subfont version 6.12.5
4:29:40 PM: ✔ 0.000 secs: logEvents
4:29:40 PM: ✔ 0.705 secs: loadAssets
4:29:44 PM: ⚠ WARN: ENOENT: no such file or directory, open 'public/subfont/nunito_sans-400-f8961a8541.woff2'
4:29:44 PM: ⚠ WARN: ENOENT: no such file or directory, open 'public/subfont/nunito_sans-600-17963d8aad.woff2'
4:29:44 PM: ⚠ WARN: ENOENT: no such file or directory, open 'public/subfont/nunito_sans-700-74516e3644.woff2'
4:29:44 PM: ⚠ WARN: ENOENT: no such file or directory, open 'public/subfont/font_awesome_5_brands-400-6161aac86f.woff2'
4:29:44 PM: ⚠ WARN: ENOENT: no such file or directory, open 'public/subfont/nunito_sans-500-c4778cba95.woff2'
4:29:44 PM: ⚠ WARN: ENOENT: no such file or directory, open 'public/subfont/font_awesome_5_free-900-8bb75a1e4d.woff2'
4:29:44 PM: ⚠ WARN: ENOENT: no such file or directory, open 'public/subfont/nunito_sans-300-ea46d7de7d.woff2'
4:29:44 PM: ⚠ WARN: ENOENT: no such file or directory, open 'public/subfont/nunito_sans-400i-9a174ab6f3.woff2'
4:29:44 PM: ⚠ WARN: ENOENT: no such file or directory, open 'public/subfont/fira_mono-400-5559a127fe.woff2'
4:29:45 PM: ⚠ WARN: ENOENT: no such file or directory, open 'public/subfont/fallback-c83f60d855.css'
4:29:46 PM: ⚠ WARN: https://ingesteer.services-prod.nsvcs.net/rum_collection - HTTP 405 Method Not Allowed
4:29:46 PM: Including assets:
4:29:46 PM: https://netlify-rum.netlify.app/netlify-rum.js
4:29:46 PM: ✔ 6.175 secs: populate
4:29:47 PM: ✔ 0.366 secs: checkIncompatibleTypes
4:29:47 PM: ✔ 0.105 secs: applySourceMaps
4:29:47 PM: ✔ 0.328 secs: populate
4:30:21 PM: ⚠ WARN: ENOENT: no such file or directory, open 'public/subfont/nunito_sans-400-f8961a8541.woff2'
4:30:21 PM: ⚠ WARN: ENOENT: no such file or directory, open 'public/subfont/nunito_sans-600-17963d8aad.woff2'
4:30:21 PM: ⚠ WARN: ENOENT: no such file or directory, open 'public/subfont/nunito_sans-700-74516e3644.woff2'
4:30:21 PM: ⚠ WARN: ENOENT: no such file or directory, open 'public/subfont/nunito_sans-500-c4778cba95.woff2'
4:30:21 PM: ⚠ WARN: ENOENT: no such file or directory, open 'public/subfont/nunito_sans-300-ea46d7de7d.woff2'
4:30:21 PM: ⚠ WARN: ENOENT: no such file or directory, open 'public/subfont/font_awesome_5_brands-400-6161aac86f.woff2'
4:30:21 PM: ⚠ WARN: ENOENT: no such file or directory, open 'public/subfont/font_awesome_5_free-900-8bb75a1e4d.woff2'
4:30:21 PM: ✔ 0.394 secs: populate
4:30:21 PM: ⚠ WARN: public/subfont/nunito_sans-400-f8961a8541.woff2 - Cannot read properties of undefined (reading 'toString')
4:30:21 PM: Including assets:
4:30:21 PM: https://www.gaitQ.com
4:30:21 PM: https://www.gaitQ.com/
4:30:21 PM: inline Css in https://www.gaitQ.com/
4:30:21 PM: inline Css in https://www.gaitQ.com
4:30:21 PM: ⚠ WARN: public/subfont/nunito_sans-600-17963d8aad.woff2 - Cannot read properties of undefined (reading 'toString')
4:30:21 PM: Including assets:
4:30:21 PM: https://www.gaitQ.com
4:30:21 PM: https://www.gaitQ.com/
4:30:21 PM: inline Css in https://www.gaitQ.com/
4:30:21 PM: inline Css in https://www.gaitQ.com
4:30:21 PM: ⚠ WARN: public/subfont/nunito_sans-500-c4778cba95.woff2 - Cannot read properties of undefined (reading 'toString')
4:30:21 PM: Including assets:
4:30:21 PM: https://www.gaitQ.com
4:30:21 PM: https://www.gaitQ.com/
4:30:21 PM: inline Css in https://www.gaitQ.com/
4:30:21 PM: inline Css in https://www.gaitQ.com
4:30:21 PM: ⚠ WARN: public/subfont/nunito_sans-700-74516e3644.woff2 - Cannot read properties of undefined (reading 'toString')
4:30:21 PM: Including assets:
4:30:21 PM: https://www.gaitQ.com
4:30:21 PM: https://www.gaitQ.com/
4:30:21 PM: inline Css in https://www.gaitQ.com/
4:30:21 PM: inline Css in https://www.gaitQ.com
4:30:21 PM: ⚠ WARN: public/subfont/font_awesome_5_free-900-8bb75a1e4d.woff2 - Cannot read properties of undefined (reading 'toString')
4:30:21 PM: Including assets:
4:30:21 PM: inline Css in https://www.gaitQ.com/
4:30:21 PM: inline Css in https://www.gaitQ.com
4:30:21 PM: ⚠ WARN: public/subfont/nunito_sans-300-ea46d7de7d.woff2 - Cannot read properties of undefined (reading 'toString')
4:30:21 PM: Including assets:
4:30:21 PM: https://www.gaitQ.com
4:30:21 PM: https://www.gaitQ.com/
4:30:21 PM: inline Css in https://www.gaitQ.com/
4:30:21 PM: inline Css in https://www.gaitQ.com
4:30:21 PM: ⚠ WARN: public/subfont/font_awesome_5_brands-400-6161aac86f.woff2 - Cannot read properties of undefined (reading 'toString')
4:30:21 PM: Including assets:
4:30:21 PM: inline Css in https://www.gaitQ.com/
4:30:21 PM: inline Css in https://www.gaitQ.com
4:30:55 PM: ⚠ WARN: Asset.rawSrc getter: Asset isn't loaded: [Woff2/3269 public/subfont/nunito_sans-400-f8961a8541.woff2]
⚠ WARN: Asset.rawSrc getter: Asset isn't loaded: [Woff2/3271 public/subfont/nunito_sans-600-17963d8aad.woff2]
⚠ WARN: Asset.rawSrc getter: Asset isn't loaded: [Woff2/3275 public/subfont/nunito_sans-500-c4778cba95.woff2]
⚠ WARN: Asset.rawSrc getter: Asset isn't loaded: [Woff2/3273 public/subfont/nunito_sans-700-74516e3644.woff2]
⚠ WARN: Asset.rawSrc getter: Asset isn't loaded: [Woff2/3289 public/subfont/font_awesome_5_free-900-8bb75a1e4d.woff2]
⚠ WARN: Asset.rawSrc getter: Asset isn't loaded: [Woff2/3277 public/subfont/nunito_sans-300-ea46d7de7d.woff2]
⚠ WARN: Asset.rawSrc getter: Asset isn't loaded: [Woff2/3286 public/subfont/font_awesome_5_brands-400-6161aac86f.woff2]
✔ 0.315 secs: serializeSourceMaps
4:30:55 PM: ✔ 0.027 secs: writeAssetsToDisc
4:30:55 PM: public/404.html: 4 fonts (9 variants) in use, 306 kB total. Created subsets: 35.7 kB total
SNIP
4:30:55 PM:
4:30:55 PM: Plugin "netlify-plugin-subfont" failed
4:30:55 PM: ────────────────────────────────────────────────────────────────
4:30:55 PM:
4:30:55 PM: Error message
4:30:55 PM: TypeError: Failed during font subsetting
4:30:55 PM:
4:30:55 PM: ### LOG: ###
4:30:55 PM: verions: {
4:30:55 PM: "netlify-build": "29.12.1",
4:30:55 PM: "netlify-plugin-subfont": "6.0.0",
4:30:55 PM: "subfont": "6.12.5",
4:30:55 PM: "assetgraph": "7.11.1"
4:30:55 PM: }
4:30:55 PM:
4:30:55 PM: Plugin configuration: {
4:30:55 PM: "entryPoints": [
4:30:55 PM: "*.html"
4:30:55 PM: ],
4:30:55 PM: "recursive": true,
4:30:55 PM: "inlineFonts": true,
4:30:55 PM: "inlineCss": true,
4:30:55 PM: "fontDisplay": "swap",
4:30:55 PM: "fallbacks": true
4:30:55 PM: }
4:30:55 PM:
4:30:55 PM: Resolved entry points: [
4:30:55 PM: "/opt/build/repo/public/404.html",
4:30:55 PM: "/opt/build/repo/public/atlassian-domain-verification.html",
4:30:55 PM: "/opt/build/repo/public/index.html"
4:30:55 PM: ]
4:30:55 PM:
4:30:55 PM: Subfont called with: {
4:30:55 PM: "recursive": true,
4:30:55 PM: "inlineFonts": true,
4:30:55 PM: "inlineCss": true,
4:30:55 PM: "fontDisplay": "swap",
4:30:55 PM: "fallbacks": true,
4:30:55 PM: "inputFiles": [
4:30:55 PM: "/opt/build/repo/public/404.html",
4:30:55 PM: "/opt/build/repo/public/atlassian-domain-verification.html",
4:30:55 PM: "/opt/build/repo/public/index.html"
4:30:55 PM: ],
4:30:55 PM: "root": "public",
4:30:55 PM: "canonicalRoot": "https://www.gaitq.com",
4:30:55 PM: "inPlace": true
4:30:55 PM: }
4:30:55 PM:
4:30:55 PM: Cannot read properties of undefined (reading 'used')
4:30:55 PM:
4:30:55 PM: Plugin details
4:30:55 PM: Package: netlify-plugin-subfont
4:30:55 PM: Version: 6.0.0
4:30:55 PM: Repository: git://github.com/munter/netlify-plugin-subfont.git
4:30:55 PM: npm link: https://www.npmjs.com/package/netlify-plugin-subfont
4:30:55 PM: Report issues: https://github.com/munter/netlify-plugin-subfont/issues
4:30:55 PM:
4:30:55 PM: Error location
4:30:55 PM: In "onPostBuild" event in "netlify-plugin-subfont" from netlify.toml
4:30:55 PM:
4:30:55 PM: Resolved config
4:30:55 PM: build:
4:30:55 PM: command: hugo
4:30:55 PM: commandOrigin: ui
4:30:55 PM: environment:
4:30:55 PM: - HUGO_VERSION
4:30:55 PM: - HUGO_ENV
4:30:55 PM: - HUGO_GOOGLE_ANALYTICS_ID
4:30:55 PM: - HUGO_ENABLEGITINFO
4:30:55 PM: publish: /opt/build/repo/public
4:30:55 PM: publishOrigin: config
4:30:55 PM: plugins:
4:30:55 PM: - inputs:
4:30:55 PM: fallbacks: true
4:30:55 PM: inlineCss: true
4:30:55 PM: inlineFonts: true
4:30:55 PM: recursive: true
4:30:55 PM: origin: config
4:30:55 PM: package: netlify-plugin-subfont
4:30:55 PM: - inputs: {}
4:30:55 PM: origin: config
4:30:55 PM: package: '@netlify/plugin-lighthouse'
4:30:55 PM: redirects:
4:30:56 PM: - from: /*
status: 404
to: /404.html
redirectsOrigin: config
4:30:56 PM: @netlify/plugin-lighthouse (onPostBuild event)
4:30:56 PM: ────────────────────────────────────────────────────────────────
4:30:56 PM:
4:30:56 PM: Generating Lighthouse report. This may take a minute…
4:30:56 PM: Running Lighthouse on public/
4:30:56 PM: Serving and scanning site from directory public
4:31:08 PM: Lighthouse scores for public/
4:31:08 PM: - Performance: 94
4:31:08 PM: - Accessibility: 97
4:31:08 PM: - Best Practices: 92
4:31:08 PM: - SEO: 92
4:31:08 PM: - PWA: 70
4:31:08 PM:
4:31:08 PM: (@netlify/plugin-lighthouse onPostBuild completed in 12.1s)
4:31:08 PM:
4:31:08 PM: Deploy site
4:31:08 PM: ────────────────────────────────────────────────────────────────
4:31:08 PM:
4:31:08 PM: Starting to deploy site from 'public'
4:31:08 PM: Calculating files to upload
4:31:10 PM: 40 new files to upload
4:31:10 PM: 0 new functions to upload
4:31:10 PM: Section completed: deploying
4:31:10 PM: Site deploy was successfully initiated
4:31:10 PM:
4:31:10 PM: (Deploy site completed in 2.5s)
4:31:10 PM:
4:31:10 PM: Netlify Build Complete
4:31:10 PM: Starting post processing
4:31:10 PM: ────────────────────────────────────────────────────────────────
4:31:10 PM:
4:31:10 PM: (Netlify Build completed in 1m 53s)
4:31:11 PM: Post processing - HTML
4:31:11 PM: Caching artifacts
4:31:11 PM: Started saving node modules
4:31:11 PM: Finished saving node modules
4:31:11 PM: Started saving build plugins
4:31:11 PM: Finished saving build plugins
4:31:11 PM: Started saving corepack cache
4:31:11 PM: Finished saving corepack cache
4:31:11 PM: Started saving pip cache
4:31:11 PM: Finished saving pip cache
4:31:11 PM: Started saving emacs cask dependencies
4:31:11 PM: Finished saving emacs cask dependencies
4:31:11 PM: Started saving maven dependencies
4:31:11 PM: Finished saving maven dependencies
4:31:11 PM: Started saving boot dependencies
4:31:11 PM: Finished saving boot dependencies
4:31:11 PM: Started saving rust rustup cache
4:31:11 PM: Processing form - contact
4:31:11 PM: Finished saving rust rustup cache
4:31:11 PM: Started saving go dependencies
4:31:11 PM: Finished saving go dependencies
4:31:12 PM: Detected form fields:
- name
- email
- phone
- message
4:31:11 PM: Build script success
4:31:11 PM: Section completed: building
4:31:12 PM: Post processing - header rules
4:31:13 PM: Post processing - redirect rules
4:31:13 PM: Post processing done
4:31:13 PM: Section completed: postprocessing
4:31:16 PM: Site is live ✨
4:31:19 PM: Uploading Cache of size 864.9MB
4:31:25 PM: Section completed: cleanup
4:31:25 PM: Finished processing build request in 2m49.771s
Successful:
3:15:20 PM: build-image version: 3b96229e32b19cdf63f20dc1fc9331cd240c2d01 (focal)
3:15:20 PM: buildbot version: 3b96229e32b19cdf63f20dc1fc9331cd240c2d01
3:15:21 PM: Fetching cached dependencies
3:15:21 PM: Starting to download cache of 730.2MB
3:15:27 PM: Finished downloading cache in 6.512s
3:15:27 PM: Starting to extract cache
3:15:30 PM: Finished extracting cache in 2.597s
3:15:30 PM: Finished fetching cache in 9.195s
3:15:30 PM: Starting to prepare the repo for build
3:15:30 PM: Preparing Git Reference refs/heads/main
3:15:33 PM: Starting to install dependencies
3:15:34 PM: Python version set to 3.8
3:15:34 PM: Attempting Ruby version 2.7.2, read from environment
3:15:34 PM: Using Ruby version 2.7.2
3:15:35 PM: Started restoring cached go cache
3:15:35 PM: Finished restoring cached go cache
3:15:35 PM: go version go1.19.10 linux/amd64
3:15:35 PM: Using PHP version 8.0
3:15:35 PM: Installing Hugo 0.112.5
3:15:35 PM: hugo v0.112.5-48e33e10af2feb2a0e1c32d04880ed016619f2d8+extended linux/amd64 BuildDate=2023-05-29T07:27:36Z VendorInfo=gohugoio
3:15:36 PM: Started restoring cached Node.js version
3:15:36 PM: Finished restoring cached Node.js version
3:15:36 PM: v16.20.0 is already installed.
3:15:37 PM: Now using node v16.20.0 (npm v8.19.4)
3:15:37 PM: Enabling Node.js Corepack
3:15:37 PM: Started restoring cached build plugins
3:15:37 PM: Finished restoring cached build plugins
3:15:37 PM: Started restoring cached corepack dependencies
3:15:37 PM: Finished restoring cached corepack dependencies
3:15:37 PM: No npm workspaces detected
3:15:37 PM: Started restoring cached node modules
3:15:37 PM: Finished restoring cached node modules
3:15:37 PM: Installing npm packages using npm version 8.19.4
3:15:38 PM: up to date, audited 648 packages in 724ms
3:15:38 PM: 105 packages are looking for funding
3:15:38 PM: run `npm fund` for details
3:15:38 PM: found 0 vulnerabilities
3:15:38 PM: npm packages installed
3:15:38 PM: Install dependencies script success
3:15:38 PM: Starting build script
3:15:39 PM: Detected 2 framework(s)
3:15:39 PM: "hugo" at version "unknown"
3:15:39 PM: "zola" at version "unknown"
3:15:39 PM: Section completed: initializing
3:15:40 PM:
3:15:40 PM: Netlify Build
3:15:40 PM: ────────────────────────────────────────────────────────────────
3:15:40 PM:
3:15:40 PM: ❯ Version
3:15:40 PM: @netlify/build 29.12.1
3:15:40 PM:
3:15:40 PM: ❯ Flags
3:15:40 PM: baseRelDir: true
3:15:40 PM: buildId: 648333f73315110008048e34
3:15:40 PM: deployId: 648333f73315110008048e36
3:15:41 PM:
3:15:41 PM: ❯ Current directory
3:15:41 PM: /opt/build/repo
3:15:41 PM:
3:15:41 PM: ❯ Config file
3:15:41 PM: /opt/build/repo/netlify.toml
3:15:41 PM:
3:15:41 PM: ❯ Context
3:15:41 PM: branch-deploy
3:15:41 PM:
3:15:41 PM: ❯ Loading plugins
3:15:41 PM: - netlify-plugin-subfont@6.0.0 from netlify.toml
3:15:41 PM: - @netlify/plugin-lighthouse@4.1.1 from netlify.toml and package.json
3:15:43 PM:
3:15:43 PM: Build command from Netlify app
3:15:43 PM: ────────────────────────────────────────────────────────────────
3:15:43 PM:
3:15:43 PM: $ hugo
3:15:43 PM: Start building sites …
3:15:43 PM: hugo v0.112.5-48e33e10af2feb2a0e1c32d04880ed016619f2d8+extended linux/amd64 BuildDate=2023-05-29T07:27:36Z VendorInfo=gohugoio
3:15:55 PM: | EN
3:15:55 PM: -------------------+-------
3:15:55 PM: Pages | 39
3:15:55 PM: Paginator pages | 2
3:15:55 PM: Non-page files | 1
3:15:55 PM: Static files | 1724
3:15:55 PM: Processed images | 69
3:15:55 PM: Aliases | 1
3:15:55 PM: Sitemaps | 1
3:15:55 PM: Cleaned | 0
3:15:55 PM: Total in 12372 ms
3:15:55 PM:
3:15:55 PM: (build.command completed in 12.4s)
3:15:55 PM:
3:15:55 PM: netlify-plugin-subfont (onPostBuild event)
3:15:55 PM: ────────────────────────────────────────────────────────────────
3:15:55 PM:
3:15:55 PM: Running subfont version 6.12.5
3:15:55 PM: ✔ 0.001 secs: logEvents
3:15:56 PM: ✔ 0.665 secs: loadAssets
3:16:00 PM: ⚠ WARN: ENOENT: no such file or directory, open 'public/theme.min.0099ec7502191d6d330b215b7d09dc0c3b24929c6a7ebc1a6f670e811a47f2ad.css'
3:16:00 PM: ⚠ WARN: ENOENT: no such file or directory, open 'public/style.min.21af3cd6e985498ef17a928270d64cc5bcf6821c56d917c6a3e5e96ce97bada7.css'
3:16:00 PM: ⚠ WARN: ENOENT: no such file or directory, open 'public/images/home/hero_hu2f353e3c28f45f62d8bce5f07a2f5ba0_5238409_2560x1440_fill_q75_h2_box_right.webp'
3:16:00 PM: ⚠ WARN: ENOENT: no such file or directory, open 'public/images/Three_devices_hu82ea2066cd816034c8fca4dab4f261a9_1801998_540x0_resize_q80_h2_box_3.webp'
3:16:00 PM: ⚠ WARN: ENOENT: no such file or directory, open 'public/images/Three_devices.png'
3:16:00 PM: ⚠ WARN: ENOENT: no such file or directory, open 'public/js/bundle.min.906f9f877f2d8473b2d35c3263cd2fee431d4055ec470270232015643d63b9ac.js'
3:16:01 PM: ⚠ WARN: https://ingesteer.services-prod.nsvcs.net/rum_collection - HTTP 405 Method Not Allowed
3:16:01 PM: Including assets:
3:16:01 PM: https://netlify-rum.netlify.app/netlify-rum.js
3:16:02 PM: ✔ 6.725 secs: populate
3:16:03 PM: ✔ 0.375 secs: checkIncompatibleTypes
3:16:03 PM: ✔ 0.108 secs: applySourceMaps
3:16:03 PM: ✔ 0.337 secs: populate
3:16:36 PM: ✔ 0.397 secs: populate
3:17:12 PM: ✔ 0.149 secs: serializeSourceMaps
3:17:12 PM: ℹ INFO: Pulling down modified stylesheet https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.css
3:17:13 PM: ✔ 0.066 secs: writeAssetsToDisc
3:17:13 PM: public/404.html: 4 fonts (9 variants) in use, 306 kB total. Created subsets: 35.7 kB total
SNIP
3:17:28 PM: Detected form fields:
- name
- email
- phone
- message
3:17:13 PM: 400i: 56/ 537 codepoints used (1 on this page), 22.9 kB (woff2) => 4.78 kB (woff2)
3:17:13 PM: HTML/SVG/JS/CSS size increase: -38.7 kB
3:17:13 PM: Total savings: 7.07 MB
3:17:13 PM: Output written to file:///opt/build/repo/public/
3:17:13 PM:
3:17:13 PM: (netlify-plugin-subfont onPostBuild completed in 1m 17.6s)
3:17:13 PM:
3:17:28 PM: Post processing - header rules
3:17:13 PM: @netlify/plugin-lighthouse (onPostBuild event)
3:17:13 PM: ────────────────────────────────────────────────────────────────
3:17:13 PM:
3:17:28 PM: Post processing - redirect rules
3:17:13 PM: Generating Lighthouse report. This may take a minute…
3:17:13 PM: Running Lighthouse on public/
3:17:13 PM: Serving and scanning site from directory public
3:17:25 PM: Lighthouse scores for public/
3:17:29 PM: Post processing done
3:17:25 PM: - Performance: 94
3:17:25 PM: - Accessibility: 97
3:17:25 PM: - Best Practices: 100
3:17:29 PM: Section completed: postprocessing
3:17:25 PM: - SEO: 92
3:17:25 PM: - PWA: 70
3:17:25 PM:
3:17:25 PM: (@netlify/plugin-lighthouse onPostBuild completed in 12.4s)
3:17:25 PM:
3:17:25 PM: Deploy site
3:17:25 PM: ────────────────────────────────────────────────────────────────
3:17:25 PM:
3:17:25 PM: Starting to deploy site from 'public'
3:17:25 PM: Calculating files to upload
3:17:27 PM: 2 new files to upload
3:17:27 PM: 0 new functions to upload
3:17:27 PM: Section completed: deploying
3:17:27 PM: Site deploy was successfully initiated
3:17:27 PM:
3:17:27 PM: (Deploy site completed in 2.3s)
3:17:28 PM:
3:17:28 PM: Netlify Build Complete
3:17:28 PM: ────────────────────────────────────────────────────────────────
3:17:28 PM:
3:17:28 PM: (Netlify Build completed in 1m 47s)
3:17:28 PM: Caching artifacts
3:17:28 PM: Started saving node modules
3:17:28 PM: Finished saving node modules
3:17:28 PM: Started saving build plugins
3:17:28 PM: Finished saving build plugins
3:17:28 PM: Started saving corepack cache
3:17:28 PM: Finished saving corepack cache
3:17:28 PM: Started saving pip cache
3:17:28 PM: Finished saving pip cache
3:17:28 PM: Started saving emacs cask dependencies
3:17:28 PM: Finished saving emacs cask dependencies
3:17:28 PM: Started saving maven dependencies
3:17:28 PM: Finished saving maven dependencies
3:17:28 PM: Started saving boot dependencies
3:17:28 PM: Finished saving boot dependencies
3:17:28 PM: Started saving rust rustup cache
3:17:28 PM: Finished saving rust rustup cache
3:17:28 PM: Started saving go dependencies
3:17:28 PM: Finished saving go dependencies
3:17:28 PM: Build script success
3:17:28 PM: Section completed: building
3:17:31 PM: Uploading Cache of size 730.1MB
3:17:31 PM: Site is live ✨
3:17:36 PM: Section completed: cleanup
3:17:36 PM: Finished processing build request in 2m15.926s
I think I have resolved it - there seems to be some strange cache issue between branches / npm versions / subfont or its dependencies.
I reinstalled npm packages and simultaneously cleared the caches on netlify. These steps meant the builds worked locally via netlify-cli and remotely on netlify itself. The strange thing is that this has also cleared various spurious warnings I’ve been having for the last few weeks (files not found). Their locations must have been cached both locally and remotely somewhere - perhaps by subfont or a dependency? Assetgraph?
Spoke to soon - merely redeploying (building again on netlify) the same commit causes a plugin error…
That plugins is not maintained by Netlify. Please try reaching out to the plugin author for help.
Thanks, I will be reporting it.
Something has changed somewhere in the chain - hugo, the plugin, subfont, assetgraph etc etc.
With some help I found my issue was caused by having capital letters in URLs on markdown pages rendered with goldmark. I’ll create a MWE and share in case anyone else has the same issue.