Builds failing due to intl-messageformat-parser@1.8.1 deprecation

site: shawnyeager.netlify.com

If I’m reading correctly, an npm module used internal to netlify’s build process has been deprecated.

Relevant build log excerpt:

12:03:43 PM:   Dependencies installation error                               
12:03:43 PM: ────────────────────────────────────────────────────────────────
12:03:43 PM: ​
12:03:43 PM:   Error message
12:03:43 PM:   Error while installing dependencies in /opt/build/repo/.netlify/plugins/
12:03:43 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
12:03:43 PM: ​
12:03:43 PM:   > puppeteer@19.6.0 postinstall /opt/build/repo/.netlify/plugins/node_modules/puppeteer
12:03:43 PM:   > node install.js
12:03:43 PM: ​
12:03:43 PM:   internal/modules/cjs/loader.js:491
12:03:43 PM:     throw new ERR_PACKAGE_PATH_NOT_EXPORTED(basePath, mappingKey);
12:03:43 PM:     ^
12:03:43 PM: ​
12:03:43 PM:   Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './internal/node/install.js' is not defined by "exports" in /opt/build/repo/.netlify/plugins/node_modules/puppeteer/package.json
12:03:43 PM:       at applyExports (internal/modules/cjs/loader.js:491:9)
12:03:43 PM:       at trySelf (internal/modules/cjs/loader.js:410:23)
12:03:43 PM:       at Function.Module._resolveFilename (internal/modules/cjs/loader.js:943:22)
12:03:43 PM:       at Function.Module._load (internal/modules/cjs/loader.js:842:27)
12:03:43 PM:       at Module.require (internal/modules/cjs/loader.js:1026:19)
12:03:43 PM:       at require (internal/modules/cjs/helpers.js:72:18)
12:03:43 PM:       at Object.<anonymous> (/opt/build/repo/.netlify/plugins/node_modules/puppeteer/install.js:38:27)
12:03:43 PM:       at Module._compile (internal/modules/cjs/loader.js:1138:30)
12:03:43 PM:       at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
12:03:43 PM:       at Module.load (internal/modules/cjs/loader.js:986:32) {
12:03:43 PM:     code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
12:03:43 PM:   }
12:03:43 PM:   npm WARN notsup Unsupported engine for @netlify/plugin-lighthouse@4.0.6: wanted: {"node":">=14.15 <19"} (current: {"node":"12.18.0","npm":"6.14.4"})
12:03:43 PM:   npm WARN notsup Not compatible with your version of node/npm: @netlify/plugin-lighthouse@4.0.6
12:03:43 PM:   npm WARN notsup Unsupported engine for puppeteer@19.6.0: wanted: {"node":">=14.1.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
12:03:43 PM:   npm WARN notsup Not compatible with your version of node/npm: puppeteer@19.6.0
12:03:43 PM:   npm WARN notsup Unsupported engine for lighthouse@9.6.8: wanted: {"node":">=14.15"} (current: {"node":"12.18.0","npm":"6.14.4"})
12:03:43 PM:   npm WARN notsup Not compatible with your version of node/npm: lighthouse@9.6.8
12:03:43 PM:   npm WARN notsup Unsupported engine for ps-list@8.1.1: wanted: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
12:03:43 PM:   npm WARN notsup Not compatible with your version of node/npm: ps-list@8.1.1
12:03:43 PM:   npm WARN notsup Unsupported engine for puppeteer-core@19.6.0: wanted: {"node":">=14.1.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
12:03:43 PM:   npm WARN notsup Not compatible with your version of node/npm: puppeteer-core@19.6.0
12:03:43 PM:   npm WARN notsup Unsupported engine for cosmiconfig@8.0.0: wanted: {"node":">=14"} (current: {"node":"12.18.0","npm":"6.14.4"})
12:03:43 PM:   npm WARN notsup Not compatible with your version of node/npm: cosmiconfig@8.0.0
12:03:43 PM: ​
12:03:43 PM:   npm ERR! code ELIFECYCLE
12:03:45 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
12:03:43 PM:   npm ERR! errno 1
12:03:43 PM:   npm ERR! puppeteer@19.6.0 postinstall: `node install.js`
12:03:43 PM:   npm ERR! Exit status 1
12:03:43 PM:   npm ERR!
12:03:43 PM:   npm ERR! Failed at the puppeteer@19.6.0 postinstall script.
12:03:43 PM:   npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Full build logs:

12:02:10 PM: build-image version: 1ca34a93198b041e44214013884c57d146a23fed (focal)
12:02:10 PM: build-image tag: v4.16.4
12:02:10 PM: buildbot version: 30bb0dbce9c066d58cbd3a36ad34f8c91a4777a3
12:02:10 PM: Building without cache
12:02:10 PM: Starting to prepare the repo for build
12:02:11 PM: No cached dependencies found. Cloning fresh repo
12:02:11 PM: git clone --filter=blob:none --no-checkout https://github.com/shawnyeager/shawnyeager.com
12:02:11 PM: Preparing Git Reference refs/heads/master
12:02:13 PM: Parsing package.json dependencies
12:02:15 PM: Starting build script
12:02:15 PM: Installing dependencies
12:02:15 PM: Python version set to 2.7
12:02:15 PM: Downloading and installing node v12.18.0...
12:02:15 PM: Downloading https://nodejs.org/dist/v12.18.0/node-v12.18.0-linux-x64.tar.xz...
12:02:15 PM: Computing checksum with sha256sum
12:02:16 PM: Checksums matched!
12:02:17 PM: Now using node v12.18.0 (npm v6.14.4)
12:02:17 PM: Started restoring cached build plugins
12:02:17 PM: Finished restoring cached build plugins
12:02:17 PM: Required ruby-3.1.2 is not installed.
12:02:17 PM: To install do: 'rvm install "ruby-3.1.2"'
12:02:17 PM: Attempting Ruby version 3.1.2, read from .ruby-version file
12:02:17 PM: Required ruby-3.1.2 is not installed - installing.
12:02:17 PM: Searching for binary rubies, this might take some time.
12:02:19 PM: Found remote file https://rubies.travis-ci.org/ubuntu/20.04/x86_64/ruby-3.1.2.tar.bz2
12:02:19 PM: Checking requirements for ubuntu.
12:02:19 PM: Requirements installation successful.
12:02:19 PM: ruby-3.1.2 - #configure
12:02:19 PM: ruby-3.1.2 - #download
12:02:20 PM: No checksum for downloaded archive, recording checksum in user configuration.
12:02:20 PM: ruby-3.1.2 - #validate archive
12:02:24 PM: ruby-3.1.2 - #extract
12:02:27 PM: ruby-3.1.2 - #validate binary
12:02:27 PM: ruby-3.1.2 - #setup
12:02:27 PM: ruby-3.1.2 - #gemset created /opt/buildhome/.rvm/gems/ruby-3.1.2@global
12:02:27 PM: ruby-3.1.2 - #importing gemset /opt/buildhome/.rvm/gemsets/global.gems........................................
12:02:28 PM: ruby-3.1.2 - #generating global wrappers........
12:02:28 PM: ruby-3.1.2 - #gemset created /opt/buildhome/.rvm/gems/ruby-3.1.2
12:02:28 PM: ruby-3.1.2 - #importing gemsetfile /opt/buildhome/.rvm/gemsets/default.gems evaluated to empty gem list
12:02:28 PM: ruby-3.1.2 - #generating default wrappers........
12:02:28 PM: Using /opt/buildhome/.rvm/gems/ruby-3.1.2
12:02:29 PM: Using Ruby version 3.1.2
12:02:29 PM: Using Bundler version 2.3.24 from Gemfile.lock
12:02:29 PM: Successfully installed bundler-2.3.24
12:02:29 PM: 1 gem installed
12:02:29 PM: Using PHP version 8.0
12:02:29 PM: Started restoring cached ruby gems
12:02:29 PM: Finished restoring cached ruby gems
12:02:29 PM: Installing gem bundle
12:02:29 PM: [DEPRECATED] The `--path` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local path '/opt/build/cache/bundle'`, and stop using this flag
12:02:29 PM: [DEPRECATED] The --binstubs option will be removed in favor of `bundle binstubs --all`
12:02:31 PM: Fetching gem metadata from https://rubygems.org/.........
12:02:31 PM: Fetching https://github.com/hydecorp/jekyll-seo-tag
12:02:31 PM: Fetching https://github.com/hydecorp/jekyll-include-cache
12:02:31 PM: Fetching rake 13.0.6
12:02:31 PM: Installing rake 13.0.6
12:02:31 PM: Fetching fiber-local 1.0.0
12:02:31 PM: Using bundler 2.3.24
12:02:31 PM: Fetching http_parser.rb 0.8.0
12:02:31 PM: Fetching hashery 2.1.2
12:02:31 PM: Fetching mini_portile2 2.8.1
12:02:31 PM: Fetching ruby-rc4 0.1.5
12:02:31 PM: Fetching rainbow 3.1.1
12:02:31 PM: Fetching yell 2.2.2
12:02:31 PM: Fetching zeitwerk 2.6.6
12:02:31 PM: Fetching rb-fsevent 0.11.2
12:02:31 PM: Fetching rexml 3.2.5
12:02:31 PM: Fetching liquid 4.0.4
12:02:31 PM: Fetching mercenary 0.4.0
12:02:31 PM: Fetching rouge 4.0.1
12:02:31 PM: Fetching safe_yaml 1.0.5
12:02:31 PM: Fetching unicode-display_width 2.4.2
12:02:31 PM: Fetching posix-spawn 0.3.15
12:02:31 PM: Fetching public_suffix 5.0.1
12:02:31 PM: Fetching afm 0.2.2
12:02:31 PM: Fetching io-event 1.1.6
12:02:31 PM: Fetching timers 4.3.5
12:02:31 PM: Fetching colorator 1.1.0
12:02:31 PM: Fetching concurrent-ruby 1.2.0
12:02:31 PM: Fetching eventmachine 1.2.7
12:02:31 PM: Fetching execjs 2.8.1
12:02:31 PM: Fetching forwardable-extended 2.6.0
12:02:31 PM: Fetching google-protobuf 3.21.12 (x86_64-linux)
12:02:31 PM: Fetching racc 1.6.2
12:02:31 PM: Fetching ttfunk 1.7.0
12:02:31 PM: Fetching Ascii85 1.1.0
12:02:31 PM: Fetching ffi 1.15.5
12:02:31 PM: Fetching webrick 1.7.0
12:02:31 PM: Fetching jekyll-paginate 1.1.0
12:02:32 PM: Installing ruby-rc4 0.1.5
12:02:32 PM: Installing fiber-local 1.0.0
12:02:32 PM: Installing colorator 1.1.0
12:02:32 PM: Installing rainbow 3.1.1
12:02:32 PM: Installing forwardable-extended 2.6.0
12:02:32 PM: Installing unicode-display_width 2.4.2
12:02:32 PM: Installing jekyll-paginate 1.1.0
12:02:32 PM: Installing safe_yaml 1.0.5
12:02:32 PM: Installing Ascii85 1.1.0
12:02:32 PM: Installing timers 4.3.5
12:02:32 PM: Installing afm 0.2.2
12:02:32 PM: Installing mercenary 0.4.0
12:02:32 PM: Installing io-event 1.1.6 with native extensions
12:02:32 PM: Installing yell 2.2.2
12:02:32 PM: Installing execjs 2.8.1
12:02:32 PM: Installing posix-spawn 0.3.15 with native extensions
12:02:32 PM: Installing mini_portile2 2.8.1
12:02:32 PM: Installing zeitwerk 2.6.6
12:02:32 PM: Installing hashery 2.1.2
12:02:32 PM: Fetching console 1.16.2
12:02:32 PM: Installing rb-fsevent 0.11.2
12:02:32 PM: Installing webrick 1.7.0
12:02:32 PM: Installing ttfunk 1.7.0
12:02:32 PM: Installing racc 1.6.2 with native extensions
12:02:32 PM: Installing liquid 4.0.4
12:02:32 PM: Fetching pathutil 0.16.2
12:02:32 PM: Installing rexml 3.2.5
12:02:32 PM: Installing public_suffix 5.0.1
12:02:32 PM: Installing console 1.16.2
12:02:32 PM: Fetching terminal-table 3.0.2
12:02:32 PM: Installing http_parser.rb 0.8.0 with native extensions
12:02:32 PM: Installing pathutil 0.16.2
12:02:32 PM: Fetching katex 0.9.0
12:02:32 PM: Installing terminal-table 3.0.2
12:02:32 PM: Installing eventmachine 1.2.7 with native extensions
12:02:32 PM: Installing concurrent-ruby 1.2.0
12:02:32 PM: Installing rouge 4.0.1
12:02:32 PM: Fetching addressable 2.8.1
12:02:32 PM: Fetching kramdown 2.4.0
12:02:32 PM: Fetching pdf-reader 2.11.0
12:02:32 PM: Installing google-protobuf 3.21.12 (x86_64-linux)
12:02:32 PM: Installing katex 0.9.0
12:02:32 PM: Installing ffi 1.15.5 with native extensions
12:02:32 PM: Installing addressable 2.8.1
12:02:32 PM: Installing kramdown 2.4.0
12:02:32 PM: Installing pdf-reader 2.11.0
12:02:32 PM: Fetching i18n 1.12.0
12:02:32 PM: Fetching sass-embedded 1.57.1
12:02:32 PM: Installing i18n 1.12.0
12:02:32 PM: Installing sass-embedded 1.57.1 with native extensions
12:02:33 PM: Fetching kramdown-parser-gfm 1.1.0
12:02:33 PM: Fetching kramdown-math-katex 1.0.1
12:02:33 PM: Installing kramdown-math-katex 1.0.1
12:02:33 PM: Installing kramdown-parser-gfm 1.1.0
12:02:33 PM: Fetching nokogiri 1.14.0
12:02:33 PM: Installing nokogiri 1.14.0 with native extensions
12:02:33 PM: Fetching jekyll-sass-converter 3.0.0
12:02:33 PM: Installing jekyll-sass-converter 3.0.0
12:02:34 PM: Fetching async 2.3.1
12:02:34 PM: Installing async 2.3.1
12:02:39 PM: Fetching ethon 0.16.0
12:02:39 PM: Fetching rb-inotify 0.10.1
12:02:39 PM: Installing rb-inotify 0.10.1
12:02:39 PM: Fetching listen 3.8.0
12:02:39 PM: Installing ethon 0.16.0
12:02:39 PM: Fetching typhoeus 1.4.0
12:02:39 PM: Installing listen 3.8.0
12:02:39 PM: Fetching jekyll-watch 2.2.1
12:02:39 PM: Installing typhoeus 1.4.0
12:02:39 PM: Installing jekyll-watch 2.2.1
12:02:42 PM: Fetching em-websocket 0.5.3
12:02:42 PM: Installing em-websocket 0.5.3
12:02:42 PM: Fetching jekyll 4.3.2
12:02:42 PM: Installing jekyll 4.3.2
12:02:42 PM: Fetching jekyll-readme-index 0.3.0
12:02:42 PM: Fetching jekyll-relative-links 0.7.0
12:02:42 PM: Fetching jekyll-last-modified-at 1.3.0
12:02:42 PM: Fetching jekyll-optional-front-matter 0.3.2
12:02:42 PM: Fetching jekyll-sitemap 1.4.0
12:02:42 PM: Fetching jekyll-titles-from-headings 0.5.3
12:02:42 PM: Fetching jekyll-compose 0.12.0
12:02:42 PM: Fetching jekyll-feed 0.17.0
12:02:42 PM: Fetching jekyll-redirect-from 0.16.0
12:02:42 PM: Using jekyll-seo-tag 2.6.1 from https://github.com/hydecorp/jekyll-seo-tag (at master@6135021)
12:02:42 PM: Using jekyll-include-cache 0.2.0 from https://github.com/hydecorp/jekyll-include-cache (at master@2168263)
12:02:42 PM: Using jekyll-theme-hydejack 9.1.6 from source at `#jekyll-theme-hydejack`
12:02:42 PM: Installing jekyll-compose 0.12.0
12:02:42 PM: Installing jekyll-readme-index 0.3.0
12:02:42 PM: Installing jekyll-titles-from-headings 0.5.3
12:02:42 PM: Installing jekyll-feed 0.17.0
12:02:42 PM: Installing jekyll-relative-links 0.7.0
12:02:42 PM: Installing jekyll-redirect-from 0.16.0
12:02:42 PM: Installing jekyll-optional-front-matter 0.3.2
12:02:42 PM: Installing jekyll-last-modified-at 1.3.0
12:02:42 PM: Installing jekyll-sitemap 1.4.0
12:03:25 PM: Fetching html-proofer 5.0.4
12:03:25 PM: Installing html-proofer 5.0.4
12:03:25 PM: Bundle complete! 18 Gemfile dependencies, 68 gems now installed.
12:03:25 PM: Bundled gems are installed into `/opt/build/cache/bundle`
12:03:25 PM: Gem bundle installed
12:03:25 PM: Started restoring cached corepack dependencies
12:03:25 PM: mv: cannot move '/opt/build/cache/.node/corepack' to '/opt/buildhome/.node/corepack': No such file or directory
12:03:25 PM: Finished restoring cached corepack dependencies
12:03:25 PM: No npm workspaces detected
12:03:25 PM: Started restoring cached node modules
12:03:25 PM: Finished restoring cached node modules
12:03:25 PM: Bypassing sha validation. Running pre & post install scripts
12:03:25 PM: Installing npm packages using npm version 6.14.4
12:03:26 PM: npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!npm WARN repo No repository field.
12:03:26 PM: npm WARN repo No license field.
12:03:26 PM: added 1 package from 1 contributor and audited 1 package in 0.702s
12:03:26 PM: found 0 vulnerabilities
12:03:26 PM: npm packages installed
12:03:26 PM: Started restoring cached go cache
12:03:26 PM: Finished restoring cached go cache
12:03:26 PM: Installing Go version 1.14.4 (requested 1.14.4)
12:03:31 PM: unset GOOS;
12:03:31 PM: unset GOARCH;
12:03:31 PM: export GOROOT='/opt/buildhome/.gimme/versions/go1.14.4.linux.amd64';
12:03:31 PM: export PATH="/opt/buildhome/.gimme/versions/go1.14.4.linux.amd64/bin:${PATH}";
12:03:31 PM: go version >&2;
12:03:31 PM: export GIMME_ENV="/opt/buildhome/.gimme/env/go1.14.4.linux.amd64.env"
12:03:31 PM: go version go1.14.4 linux/amd64
12:03:31 PM: Detected 1 framework(s)
12:03:31 PM: "jekyll" at version "unknown"
12:03:31 PM: Installing missing commands
12:03:31 PM: Verify run directory
12:03:31 PM: Section completed: initializing
12:03:32 PM: ​
12:03:32 PM:   Netlify Build                                                 
12:03:32 PM: ────────────────────────────────────────────────────────────────
12:03:32 PM: ​
12:03:32 PM: ❯ Version
12:03:32 PM:   @netlify/build 29.5.1
12:03:32 PM: ​
12:03:32 PM: ❯ Flags
12:03:32 PM:   baseRelDir: true
12:03:32 PM:   buildId: 63d01d1f9c5cc20b25370b09
12:03:32 PM:   deployId: 63d01d1f9c5cc20b25370b0b
12:03:32 PM: ​
12:03:32 PM: ❯ Current directory
12:03:32 PM:   /opt/build/repo
12:03:32 PM: ​
12:03:32 PM: ❯ Config file
12:03:32 PM:   /opt/build/repo/netlify.toml
12:03:32 PM: ​
12:03:32 PM: ❯ Context
12:03:32 PM:   production
12:03:32 PM: ​
12:03:32 PM: ❯ Installing plugins
12:03:32 PM:    - @netlify/plugin-lighthouse@4.0.6
12:03:43 PM: ​
12:03:43 PM:   Dependencies installation error                               
12:03:43 PM: ────────────────────────────────────────────────────────────────
12:03:43 PM: ​
12:03:43 PM:   Error message
12:03:43 PM:   Error while installing dependencies in /opt/build/repo/.netlify/plugins/
12:03:43 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
12:03:43 PM: ​
12:03:43 PM:   > puppeteer@19.6.0 postinstall /opt/build/repo/.netlify/plugins/node_modules/puppeteer
12:03:43 PM:   > node install.js
12:03:43 PM: ​
12:03:43 PM:   internal/modules/cjs/loader.js:491
12:03:43 PM:     throw new ERR_PACKAGE_PATH_NOT_EXPORTED(basePath, mappingKey);
12:03:43 PM:     ^
12:03:43 PM: ​
12:03:43 PM:   Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './internal/node/install.js' is not defined by "exports" in /opt/build/repo/.netlify/plugins/node_modules/puppeteer/package.json
12:03:43 PM:       at applyExports (internal/modules/cjs/loader.js:491:9)
12:03:43 PM:       at trySelf (internal/modules/cjs/loader.js:410:23)
12:03:43 PM:       at Function.Module._resolveFilename (internal/modules/cjs/loader.js:943:22)
12:03:43 PM:       at Function.Module._load (internal/modules/cjs/loader.js:842:27)
12:03:43 PM:       at Module.require (internal/modules/cjs/loader.js:1026:19)
12:03:43 PM:       at require (internal/modules/cjs/helpers.js:72:18)
12:03:43 PM:       at Object.<anonymous> (/opt/build/repo/.netlify/plugins/node_modules/puppeteer/install.js:38:27)
12:03:43 PM:       at Module._compile (internal/modules/cjs/loader.js:1138:30)
12:03:43 PM:       at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
12:03:43 PM:       at Module.load (internal/modules/cjs/loader.js:986:32) {
12:03:43 PM:     code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
12:03:43 PM:   }
12:03:43 PM:   npm WARN notsup Unsupported engine for @netlify/plugin-lighthouse@4.0.6: wanted: {"node":">=14.15 <19"} (current: {"node":"12.18.0","npm":"6.14.4"})
12:03:43 PM:   npm WARN notsup Not compatible with your version of node/npm: @netlify/plugin-lighthouse@4.0.6
12:03:43 PM:   npm WARN notsup Unsupported engine for puppeteer@19.6.0: wanted: {"node":">=14.1.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
12:03:43 PM:   npm WARN notsup Not compatible with your version of node/npm: puppeteer@19.6.0
12:03:43 PM:   npm WARN notsup Unsupported engine for lighthouse@9.6.8: wanted: {"node":">=14.15"} (current: {"node":"12.18.0","npm":"6.14.4"})
12:03:43 PM:   npm WARN notsup Not compatible with your version of node/npm: lighthouse@9.6.8
12:03:43 PM:   npm WARN notsup Unsupported engine for ps-list@8.1.1: wanted: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
12:03:43 PM:   npm WARN notsup Not compatible with your version of node/npm: ps-list@8.1.1
12:03:43 PM:   npm WARN notsup Unsupported engine for puppeteer-core@19.6.0: wanted: {"node":">=14.1.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
12:03:43 PM:   npm WARN notsup Not compatible with your version of node/npm: puppeteer-core@19.6.0
12:03:43 PM:   npm WARN notsup Unsupported engine for cosmiconfig@8.0.0: wanted: {"node":">=14"} (current: {"node":"12.18.0","npm":"6.14.4"})
12:03:43 PM:   npm WARN notsup Not compatible with your version of node/npm: cosmiconfig@8.0.0
12:03:43 PM: ​
12:03:43 PM:   npm ERR! code ELIFECYCLE
12:03:45 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
12:03:43 PM:   npm ERR! errno 1
12:03:43 PM:   npm ERR! puppeteer@19.6.0 postinstall: `node install.js`
12:03:43 PM:   npm ERR! Exit status 1
12:03:43 PM:   npm ERR!
12:03:43 PM:   npm ERR! Failed at the puppeteer@19.6.0 postinstall script.
12:03:43 PM:   npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
12:03:43 PM: ​​
12:03:43 PM:   Resolved config
12:03:43 PM:   build:
12:03:43 PM:     command: jekyll build
12:03:43 PM:     commandOrigin: config
12:03:43 PM:     environment:
12:03:43 PM:       - JEKYLL_ENV
12:03:43 PM:       - RUBY_VERSION
12:03:43 PM:     publish: /opt/build/repo/_site
12:03:43 PM:     publishOrigin: config
12:03:43 PM:   headers:
12:03:43 PM:     - for: /.well-known/*      values:        Access-Control-Allow-Origin: '*'  headersOrigin: config  plugins:    - inputs: {}      origin: ui      package: '@netlify/plugin-lighthouse'Caching artifacts
12:03:43 PM: Started saving ruby gems
12:03:43 PM: Finished saving ruby gems
12:03:43 PM: Started saving node modules
12:03:43 PM: Finished saving node modules
12:03:43 PM: Started saving build plugins
12:03:43 PM: Finished saving build plugins
12:03:43 PM: Started saving pip cache
12:03:43 PM: Finished saving pip cache
12:03:43 PM: Started saving emacs cask dependencies
12:03:43 PM: Finished saving emacs cask dependencies
12:03:43 PM: Started saving maven dependencies
12:03:43 PM: Finished saving maven dependencies
12:03:43 PM: Started saving boot dependencies
12:03:43 PM: Finished saving boot dependencies
12:03:43 PM: Started saving rust rustup cache
12:03:43 PM: Finished saving rust rustup cache
12:03:43 PM: Started saving go dependencies
12:03:43 PM: Finished saving go dependencies
12:03:44 PM: Cached Ruby version 3.1.2
12:03:45 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
12:03:45 PM: Failing build: Failed to build site
12:03:45 PM: Finished processing build request in 1m34.415s
1 Like

Having the same issue right now.

Hey @shawnyeager :wave: thanks for the detailed report, and thanks @andrevf for the confirmation!

Apologies for this issue – a recent dependency upgrade is indeed the cause. The build logs you supplied are great for helping us diagnose the issue as we didn’t encounter this during testing!

I’ve just released version 4.0.7 of the Lighthouse plugin, which should resolve your issue. Would you mind retrying a deployment when you get chance?

1 Like

Thanks, Jack. That worked for me. Appreciate the fast response.

1 Like

Hi @shawnyeager :wave:t6: ,

Thanks so much for coming back and letting us know this worked for you! We appreciate the feedback. (: