Build.command - failed

Hi all,

  • I am using Nuxt v2
  • My site has been live for about 3 years with no real changes
  • The only content that is updated is content for change logs that I display on my site
  • No issues the past few years
  • Committed a change log line into my code, Netlify picked up the change from Github and started building
  • Build failed - Error message below

Note: I feel this is somewhat related to a previous post of mine where my builds started failing out of the blue. I ended rebuilding the entire site in Nuxt 3 and adding a netlify.toml file which defined the node and npm versions. I thought the below looked like a similar issue. However, upon adding a netlify.toml file to this project, the build still fails. The error is below. The netlify.toml content I added is underneath.

Error Part 1

10:28:48 AM: build-image version: 782b5df339f214fc7c855168f91b0835ad93e526 (focal)
10:28:48 AM: buildbot version: 782b5df339f214fc7c855168f91b0835ad93e526
10:28:49 AM: Fetching cached dependencies
10:28:49 AM: Failed to fetch cache, continuing with build
10:28:49 AM: Starting to prepare the repo for build
10:28:49 AM: No cached dependencies found. Cloning fresh repo
10:28:49 AM: git clone --filter=blob:none https://github.com/myproject/myproject-Optimisation
10:28:49 AM: Preparing Git Reference refs/heads/main
10:28:51 AM: Parsing package.json dependencies
10:28:53 AM: Starting build script
10:28:53 AM: Installing dependencies
10:28:53 AM: Python version set to 2.7
10:28:54 AM: Downloading and installing node v12.18.0...
10:28:54 AM: Downloading https://nodejs.org/dist/v12.18.0/node-v12.18.0-linux-x64.tar.xz...
10:30:11 AM: Computing checksum with sha256sum
10:30:12 AM: Checksums matched!
10:30:13 AM: Now using node v12.18.0 (npm v6.14.4)
10:30:13 AM: Started restoring cached build plugins
10:30:13 AM: Finished restoring cached build plugins
10:30:13 AM: Attempting Ruby version 2.7.1, read from environment
10:30:13 AM: Required ruby-2.7.1 is not installed - installing.
10:30:14 AM: Searching for binary rubies, this might take some time.
10:30:14 AM: Found remote file https://rvm_io.global.ssl.fastly.net/binaries/ubuntu/20.04/x86_64/ruby-2.7.1.tar.bz2
10:30:14 AM: Checking requirements for ubuntu.
10:30:14 AM: Requirements installation successful.
10:30:14 AM: ruby-2.7.1 - #configure
10:30:14 AM: ruby-2.7.1 - #download
10:30:14 AM: ruby-2.7.1 - #validate archive
10:30:18 AM: ruby-2.7.1 - #extract
10:30:20 AM: ruby-2.7.1 - #validate binary
10:30:20 AM: ruby-2.7.1 - #setup
10:30:20 AM: ruby-2.7.1 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.7.1@global
10:30:21 AM: ruby-2.7.1 - #importing gemset /opt/buildhome/.rvm/gemsets/global.gems........................................
10:30:21 AM: ruby-2.7.1 - #generating global wrappers........
10:30:21 AM: ruby-2.7.1 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.7.1
10:30:21 AM: ruby-2.7.1 - #importing gemsetfile /opt/buildhome/.rvm/gemsets/default.gems evaluated to empty gem list
10:30:21 AM: ruby-2.7.1 - #generating default wrappers........
10:30:21 AM: Using /opt/buildhome/.rvm/gems/ruby-2.7.1
10:30:22 AM: Using Ruby version 2.7.1
10:30:22 AM: Using PHP version 8.0
10:30:22 AM: Started restoring cached corepack dependencies
10:30:22 AM: Finished restoring cached corepack dependencies
10:30:22 AM: No npm workspaces detected
10:30:22 AM: Started restoring cached node modules
10:30:22 AM: Finished restoring cached node modules
10:30:22 AM: Installing npm packages using npm version 6.14.4
10:30:25 AM: npm WARN deprecated @types/chokidar@2.1.3: This is a stub types definition. chokidar provides its own type definitions, so you do not need this installed.
10:30:27 AM: npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
10:30:31 AM: npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
10:30:33 AM: npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
10:30:33 AM: npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
10:30:34 AM: npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
10:30:34 AM: npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
10:30:34 AM: npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
10:30:34 AM: npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
10:30:34 AM: 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
10:30:46 AM: > core-js@3.29.1 postinstall /opt/build/repo/node_modules/core-js
10:30:46 AM: > node -e "try{require('./postinstall')}catch(e){}"
10:30:46 AM: > nuxt@2.16.3 postinstall /opt/build/repo/node_modules/nuxt
10:30:46 AM: > opencollective || exit 0
10:30:47 AM: npm notice created a lockfile as package-lock.json. You should commit this file.
10:30:47 AM: npm WARN notsup Unsupported engine for @nuxt/types@2.16.3: wanted: {"node":"^14.18.0 || ^16.10.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @nuxt/types@2.16.3
10:30:47 AM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
10:30:47 AM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
10:30:47 AM: npm WARN notsup Unsupported engine for @nuxt/babel-preset-app@2.16.3: wanted: {"node":"^14.18.0 || ^16.10.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @nuxt/babel-preset-app@2.16.3
10:30:47 AM: npm WARN notsup Unsupported engine for @nuxt/cli@2.16.3: wanted: {"node":"^14.18.0 || ^16.10.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @nuxt/cli@2.16.3
10:30:47 AM: npm WARN notsup Unsupported engine for @nuxt/config@2.16.3: wanted: {"node":"^14.18.0 || ^16.10.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @nuxt/config@2.16.3
10:30:47 AM: npm WARN notsup Unsupported engine for @nuxt/generator@2.16.3: wanted: {"node":"^14.18.0 || ^16.10.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @nuxt/generator@2.16.3
10:30:47 AM: npm WARN notsup Unsupported engine for @nuxt/core@2.16.3: wanted: {"node":"^14.18.0 || ^16.10.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @nuxt/core@2.16.3
10:30:47 AM: npm WARN notsup Unsupported engine for @nuxt/server@2.16.3: wanted: {"node":"^14.18.0 || ^16.10.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @nuxt/server@2.16.3
10:30:47 AM: npm WARN notsup Unsupported engine for @nuxt/builder@2.16.3: wanted: {"node":"^14.18.0 || ^16.10.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @nuxt/builder@2.16.3
10:30:47 AM: npm WARN notsup Unsupported engine for @nuxt/utils@2.16.3: wanted: {"node":"^14.18.0 || ^16.10.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @nuxt/utils@2.16.3
10:30:47 AM: npm WARN notsup Unsupported engine for @nuxt/vue-app@2.16.3: wanted: {"node":"^14.18.0 || ^16.10.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @nuxt/vue-app@2.16.3
10:30:47 AM: npm WARN notsup Unsupported engine for @nuxt/vue-renderer@2.16.3: wanted: {"node":"^14.18.0 || ^16.10.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @nuxt/vue-renderer@2.16.3
10:30:47 AM: npm WARN notsup Unsupported engine for @nuxt/webpack@2.16.3: wanted: {"node":"^14.18.0 || ^16.10.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @nuxt/webpack@2.16.3
10:30:47 AM: npm WARN notsup Unsupported engine for postcss-import@15.1.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: postcss-import@15.1.0
10:30:47 AM: npm WARN notsup Unsupported engine for postcss-preset-env@8.0.1: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: postcss-preset-env@8.0.1
10:30:47 AM: npm WARN notsup Unsupported engine for @csstools/postcss-cascade-layers@3.0.1: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @csstools/postcss-cascade-layers@3.0.1
10:30:47 AM: npm WARN notsup Unsupported engine for @csstools/postcss-color-function@2.1.0: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @csstools/postcss-color-function@2.1.0
10:30:47 AM: npm WARN notsup Unsupported engine for @csstools/postcss-hwb-function@2.1.1: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @csstools/postcss-hwb-function@2.1.1
10:30:47 AM: npm WARN notsup Unsupported engine for @csstools/postcss-font-format-keywords@2.0.2: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @csstools/postcss-font-format-keywords@2.0.2
10:30:47 AM: npm WARN notsup Unsupported engine for @csstools/postcss-ic-unit@2.0.2: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @csstools/postcss-ic-unit@2.0.2
10:30:47 AM: npm WARN notsup Unsupported engine for @csstools/postcss-is-pseudo-class@3.1.1: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @csstools/postcss-is-pseudo-class@3.1.1
10:30:47 AM: npm WARN notsup Unsupported engine for @csstools/postcss-logical-float-and-clear@1.0.1: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @csstools/postcss-logical-float-and-clear@1.0.1
10:30:47 AM: npm WARN notsup Unsupported engine for @csstools/postcss-logical-viewport-units@1.0.2: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @csstools/postcss-logical-viewport-units@1.0.2
10:30:47 AM: npm WARN notsup Unsupported engine for @csstools/postcss-logical-resize@1.0.1: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @csstools/postcss-logical-resize@1.0.1
10:30:47 AM: npm WARN notsup Unsupported engine for @csstools/postcss-media-queries-aspect-ratio-number-values@1.0.1: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @csstools/postcss-media-queries-aspect-ratio-number-values@1.0.1
10:30:47 AM: npm WARN notsup Unsupported engine for @csstools/postcss-nested-calc@2.0.2: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @csstools/postcss-nested-calc@2.0.2
10:30:47 AM: npm WARN notsup Unsupported engine for @csstools/postcss-oklab-function@2.1.0: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @csstools/postcss-oklab-function@2.1.0
10:30:47 AM: npm WARN notsup Unsupported engine for @csstools/postcss-normalize-display-values@2.0.1: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @csstools/postcss-normalize-display-values@2.0.1
10:30:47 AM: npm WARN notsup Unsupported engine for @csstools/postcss-progressive-custom-properties@2.1.0: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @csstools/postcss-progressive-custom-properties@2.1.0
10:30:47 AM: npm WARN notsup Unsupported engine for @csstools/postcss-scope-pseudo-class@2.0.2: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @csstools/postcss-scope-pseudo-class@2.0.2
10:30:47 AM: npm WARN notsup Unsupported engine for @csstools/postcss-stepped-value-functions@2.1.0: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @csstools/postcss-stepped-value-functions@2.1.0
10:30:47 AM: npm WARN notsup Unsupported engine for @csstools/postcss-text-decoration-shorthand@2.2.1: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @csstools/postcss-text-decoration-shorthand@2.2.1
10:30:47 AM: npm WARN notsup Unsupported engine for @csstools/postcss-trigonometric-functions@2.0.1: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @csstools/postcss-trigonometric-functions@2.0.1
10:30:47 AM: npm WARN notsup Unsupported engine for @csstools/postcss-unset-value@2.0.1: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @csstools/postcss-unset-value@2.0.1
10:30:47 AM: npm WARN notsup Unsupported engine for css-blank-pseudo@5.0.2: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: css-blank-pseudo@5.0.2
10:30:47 AM: npm WARN notsup Unsupported engine for css-has-pseudo@5.0.2: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: css-has-pseudo@5.0.2
10:30:47 AM: npm WARN notsup Unsupported engine for css-prefers-color-scheme@8.0.2: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: css-prefers-color-scheme@8.0.2
10:30:47 AM: npm WARN notsup Unsupported engine for postcss-attribute-case-insensitive@6.0.2: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: postcss-attribute-case-insensitive@6.0.2
10:30:47 AM: npm WARN notsup Unsupported engine for postcss-color-functional-notation@5.0.2: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: postcss-color-functional-notation@5.0.2
10:30:47 AM: npm WARN notsup Unsupported engine for postcss-color-hex-alpha@9.0.2: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: postcss-color-hex-alpha@9.0.2
10:30:47 AM: npm WARN notsup Unsupported engine for postcss-color-rebeccapurple@8.0.2: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: postcss-color-rebeccapurple@8.0.2
10:30:47 AM: npm WARN notsup Unsupported engine for postcss-custom-media@9.1.2: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: postcss-custom-media@9.1.2
10:30:47 AM: npm WARN notsup Unsupported engine for postcss-custom-properties@13.1.4: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: postcss-custom-properties@13.1.4
10:30:47 AM: npm WARN notsup Unsupported engine for postcss-custom-selectors@7.1.2: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: postcss-custom-selectors@7.1.2
10:30:47 AM: npm WARN notsup Unsupported engine for postcss-dir-pseudo-class@7.0.2: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: postcss-dir-pseudo-class@7.0.2
10:30:47 AM: npm WARN notsup Unsupported engine for postcss-focus-visible@8.0.2: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: postcss-focus-visible@8.0.2
10:30:47 AM: npm WARN notsup Unsupported engine for postcss-focus-within@7.0.2: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: postcss-focus-within@7.0.2
10:30:47 AM: npm WARN notsup Unsupported engine for postcss-double-position-gradients@4.0.2: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: postcss-double-position-gradients@4.0.2
10:30:47 AM: npm WARN notsup Unsupported engine for postcss-gap-properties@4.0.1: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: postcss-gap-properties@4.0.1
10:30:47 AM: npm WARN notsup Unsupported engine for postcss-image-set-function@5.0.2: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: postcss-image-set-function@5.0.2
10:30:47 AM: npm WARN notsup Unsupported engine for postcss-lab-function@5.1.0: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: postcss-lab-function@5.1.0
10:30:47 AM: npm WARN notsup Unsupported engine for postcss-logical@6.1.0: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: postcss-logical@6.1.0
10:30:47 AM: npm WARN notsup Unsupported engine for postcss-nesting@11.2.1: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: postcss-nesting@11.2.1
10:30:47 AM: npm WARN notsup Unsupported engine for postcss-overflow-shorthand@4.0.1: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: postcss-overflow-shorthand@4.0.1
10:30:47 AM: npm WARN notsup Unsupported engine for postcss-place@8.0.1: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: postcss-place@8.0.1
10:30:47 AM: npm WARN notsup Unsupported engine for postcss-pseudo-class-any-link@8.0.2: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: postcss-pseudo-class-any-link@8.0.2
10:30:47 AM: npm WARN notsup Unsupported engine for postcss-selector-not@7.0.1: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: postcss-selector-not@7.0.1
10:30:47 AM: npm WARN notsup Unsupported engine for @csstools/selector-specificity@2.1.1: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @csstools/selector-specificity@2.1.1
10:30:47 AM: npm WARN notsup Unsupported engine for @csstools/color-helpers@1.0.0: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @csstools/color-helpers@1.0.0
10:30:47 AM: npm WARN notsup Unsupported engine for @csstools/css-tokenizer@2.1.0: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @csstools/css-tokenizer@2.1.0
10:30:47 AM: npm WARN notsup Unsupported engine for @csstools/media-query-list-parser@2.0.1: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @csstools/media-query-list-parser@2.0.1
10:30:47 AM: npm WARN notsup Unsupported engine for @csstools/css-parser-algorithms@2.0.1: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @csstools/css-parser-algorithms@2.0.1
10:30:47 AM: npm WARN notsup Unsupported engine for @csstools/css-calc@1.0.0: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @csstools/css-calc@1.0.0
10:30:47 AM: npm WARN notsup Unsupported engine for @csstools/cascade-layer-name-parser@1.0.1: wanted: {"node":"^14 || ^16 || >=18"} (current: {"node":"12.18.0","npm":"6.14.4"})
10:30:47 AM: npm WARN notsup Not compatible with your version of node/npm: @csstools/cascade-layer-name-parser@1.0.1
[build]
command = "npm run generate"
publish = "dist/"
environment = { NODE_VERSION = "18.15.0", NPM_VERSION = "9.5.0" }

Error Part 2

10:30:47 AM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/watchpack-chokidar2/node_modules/chokidar/node_modules/fsevents):
10:30:47 AM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
10:30:47 AM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/fork-ts-checker-webpack-plugin/node_modules/chokidar/node_modules/fsevents):
10:30:47 AM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
10:30:47 AM: npm WARN cssnano@5.1.15 requires a peer of postcss@^8.2.15 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-import@15.1.0 requires a peer of postcss@^8.0.0 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-preset-env@8.0.1 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN autoprefixer@10.4.14 requires a peer of postcss@^8.1.0 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-url@10.1.3 requires a peer of postcss@^8.0.0 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN icss-utils@5.1.0 requires a peer of postcss@^8.1.0 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-modules-extract-imports@3.0.0 requires a peer of postcss@^8.1.0 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-modules-local-by-default@4.0.0 requires a peer of postcss@^8.1.0 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-modules-scope@3.0.0 requires a peer of postcss@^8.1.0 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-modules-values@4.0.0 requires a peer of postcss@^8.1.0 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN cssnano-preset-default@5.2.14 requires a peer of postcss@^8.2.15 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN css-declaration-sorter@6.3.1 requires a peer of postcss@^8.0.9 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-calc@8.2.4 requires a peer of postcss@^8.2.2 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN cssnano-utils@3.1.0 requires a peer of postcss@^8.2.15 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-discard-comments@5.1.2 requires a peer of postcss@^8.2.15 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-discard-duplicates@5.1.0 requires a peer of postcss@^8.2.15 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-colormin@5.3.1 requires a peer of postcss@^8.2.15 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-convert-values@5.1.3 requires a peer of postcss@^8.2.15 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-discard-empty@5.1.1 requires a peer of postcss@^8.2.15 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-merge-longhand@5.1.7 requires a peer of postcss@^8.2.15 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-discard-overridden@5.1.0 requires a peer of postcss@^8.2.15 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-merge-rules@5.1.4 requires a peer of postcss@^8.2.15 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-minify-gradients@5.1.1 requires a peer of postcss@^8.2.15 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-minify-font-values@5.1.0 requires a peer of postcss@^8.2.15 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-minify-params@5.1.4 requires a peer of postcss@^8.2.15 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-normalize-charset@5.1.0 requires a peer of postcss@^8.2.15 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-minify-selectors@5.2.1 requires a peer of postcss@^8.2.15 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-normalize-display-values@5.1.0 requires a peer of postcss@^8.2.15 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-normalize-positions@5.1.1 requires a peer of postcss@^8.2.15 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-normalize-repeat-style@5.1.1 requires a peer of postcss@^8.2.15 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-normalize-string@5.1.0 requires a peer of postcss@^8.2.15 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-normalize-timing-functions@5.1.0 requires a peer of postcss@^8.2.15 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-normalize-unicode@5.1.1 requires a peer of postcss@^8.2.15 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-normalize-whitespace@5.1.1 requires a peer of postcss@^8.2.15 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-normalize-url@5.1.0 requires a peer of postcss@^8.2.15 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-ordered-values@5.1.3 requires a peer of postcss@^8.2.15 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-reduce-initial@5.1.2 requires a peer of postcss@^8.2.15 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-reduce-transforms@5.1.0 requires a peer of postcss@^8.2.15 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-svgo@5.1.0 requires a peer of postcss@^8.2.15 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-unique-selectors@5.1.1 requires a peer of postcss@^8.2.15 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN stylehacks@5.1.1 requires a peer of postcss@^8.2.15 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN @csstools/postcss-cascade-layers@3.0.1 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN @csstools/postcss-color-function@2.1.0 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN @csstools/postcss-hwb-function@2.1.1 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN @csstools/postcss-font-format-keywords@2.0.2 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN @csstools/postcss-ic-unit@2.0.2 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN @csstools/postcss-is-pseudo-class@3.1.1 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN @csstools/postcss-logical-float-and-clear@1.0.1 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN @csstools/postcss-logical-viewport-units@1.0.2 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN @csstools/postcss-logical-resize@1.0.1 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN @csstools/postcss-media-queries-aspect-ratio-number-values@1.0.1 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN @csstools/postcss-nested-calc@2.0.2 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN @csstools/postcss-oklab-function@2.1.0 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN @csstools/postcss-normalize-display-values@2.0.1 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN @csstools/postcss-progressive-custom-properties@2.1.0 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN @csstools/postcss-scope-pseudo-class@2.0.2 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN @csstools/postcss-stepped-value-functions@2.1.0 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN @csstools/postcss-text-decoration-shorthand@2.2.1 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN @csstools/postcss-trigonometric-functions@2.0.1 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN @csstools/postcss-unset-value@2.0.1 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN css-blank-pseudo@5.0.2 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN css-has-pseudo@5.0.2 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN css-prefers-color-scheme@8.0.2 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-attribute-case-insensitive@6.0.2 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-clamp@4.1.0 requires a peer of postcss@^8.4.6 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-color-functional-notation@5.0.2 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-color-hex-alpha@9.0.2 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-color-rebeccapurple@8.0.2 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-custom-media@9.1.2 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-custom-properties@13.1.4 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-custom-selectors@7.1.2 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-dir-pseudo-class@7.0.2 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-focus-visible@8.0.2 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-focus-within@7.0.2 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-double-position-gradients@4.0.2 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-font-variant@5.0.0 requires a peer of postcss@^8.1.0 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-gap-properties@4.0.1 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-image-set-function@5.0.2 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-initial@4.0.1 requires a peer of postcss@^8.0.0 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-lab-function@5.1.0 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-logical@6.1.0 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-media-minmax@5.0.0 requires a peer of postcss@^8.1.0 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-nesting@11.2.1 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-opacity-percentage@1.1.3 requires a peer of postcss@^8.2 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-overflow-shorthand@4.0.1 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-page-break@3.0.4 requires a peer of postcss@^8 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-place@8.0.1 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-pseudo-class-any-link@8.0.2 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-replace-overflow-wrap@4.0.0 requires a peer of postcss@^8.0.3 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN postcss-selector-not@7.0.1 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: npm WARN @csstools/selector-specificity@2.1.1 requires a peer of postcss@^8.4 but none is installed. You must install peer dependencies yourself.
10:30:47 AM: added 1661 packages from 862 contributors and audited 1649 packages in 24.59s
10:30:47 AM: 270 packages are looking for funding
10:30:47 AM:   run `npm fund` for details
10:30:47 AM: found 10 vulnerabilities (6 moderate, 4 high)
10:30:47 AM:   run `npm audit fix` to fix them, or `npm audit` for details
10:30:47 AM: npm packages installed
10:30:48 AM: Started restoring cached go cache
10:30:48 AM: Finished restoring cached go cache
10:30:48 AM: Installing Go version 1.14.4 (requested 1.14.4)
10:30:52 AM: go version go1.14.4 linux/amd64
10:30:56 AM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
10:30:52 AM: Detected 1 framework(s)
10:30:52 AM: "nuxt" at version "2.16.3"
10:30:52 AM: Section completed: initializing
10:30:54 AM: ​
10:30:54 AM:   Netlify Build                                                 
10:30:54 AM: ────────────────────────────────────────────────────────────────
10:30:54 AM: ​
10:30:54 AM: ❯ Version
10:30:54 AM:   @netlify/build 29.7.0
10:30:54 AM: ​
10:30:54 AM: ❯ Flags
10:30:54 AM:   baseRelDir: true
10:30:54 AM:   buildId: 6418355c00198700085a584b
10:30:54 AM:   deployId: 6418355c00198700085a584d
10:30:54 AM: ​
10:30:54 AM: ❯ Current directory
10:30:54 AM:   /opt/build/repo
10:30:54 AM: ​
10:30:54 AM: ❯ Config file
10:30:54 AM:   No config file was defined: using default values.
10:30:54 AM: ​
10:30:54 AM: ❯ Context
10:30:54 AM:   production
10:30:54 AM: ​
10:30:54 AM:   1. Build command from Netlify app                             
10:30:54 AM: ────────────────────────────────────────────────────────────────
10:30:54 AM: ​
10:30:54 AM: $ npm run generate
10:30:54 AM: > myproject@1.0.0 generate /opt/build/repo
10:30:54 AM: > nuxt-ts generate
10:30:54 AM: internal/modules/cjs/loader.js:969
10:30:54 AM:   throw err;
10:30:54 AM:   ^
10:30:54 AM: Error: Cannot find module '@nuxt/cli-edge'
10:30:54 AM: Require stack:
10:30:54 AM: - /opt/build/repo/node_modules/@nuxt/typescript-runtime/bin/nuxt-ts.js
10:30:54 AM:     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15)
10:30:54 AM:     at Function.Module._load (internal/modules/cjs/loader.js:842:27)
10:30:54 AM:     at Module.require (internal/modules/cjs/loader.js:1026:19)
10:30:54 AM:     at require (internal/modules/cjs/helpers.js:72:18)
10:30:54 AM:     at Object.<anonymous> (/opt/build/repo/node_modules/@nuxt/typescript-runtime/bin/nuxt-ts.js:9:9)
10:30:54 AM:     at Module._compile (internal/modules/cjs/loader.js:1138:30)
10:30:54 AM:     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
10:30:54 AM:     at Module.load (internal/modules/cjs/loader.js:986:32)
10:30:54 AM:     at Function.Module._load (internal/modules/cjs/loader.js:879:14)
10:30:54 AM:     at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) {
10:30:54 AM:   code: 'MODULE_NOT_FOUND',
10:30:54 AM:   requireStack: [
10:30:54 AM:     '/opt/build/repo/node_modules/@nuxt/typescript-runtime/bin/nuxt-ts.js'
10:30:54 AM:   ]
10:30:54 AM: }
10:30:54 AM: npm ERR! code ELIFECYCLE
10:30:54 AM: npm ERR! errno 1
10:30:54 AM: npm ERR! myproject@1.0.0 generate: `nuxt-ts generate`
10:30:54 AM: npm ERR! Exit status 1
10:30:54 AM: npm ERR!
10:30:54 AM: npm ERR! Failed at the myproject@1.0.0 generate script.
10:30:54 AM: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
10:30:54 AM: npm ERR! A complete log of this run can be found in:
10:30:54 AM: npm ERR!     /opt/buildhome/.npm/_logs/2023-03-20T10_30_54_274Z-debug.log
10:30:54 AM: ​
10:30:54 AM:   "build.command" failed                                        
10:30:54 AM: ────────────────────────────────────────────────────────────────
10:30:54 AM: ​
10:30:54 AM:   Error message
10:30:54 AM:   Command failed with exit code 1: npm run generate (https://ntl.fyi/exit-code-1)
10:30:54 AM: ​
10:30:54 AM:   Error location
10:30:54 AM:   In Build command from Netlify app:
10:30:54 AM:   npm run generate
10:30:54 AM: ​
10:30:54 AM:   Resolved config
10:30:54 AM:   build:
10:30:54 AM:     command: npm run generate
10:30:54 AM:     commandOrigin: ui
10:30:54 AM:     publish: /opt/build/repo/dist
10:30:54 AM:     publishOrigin: ui
10:30:54 AM: Caching artifacts
10:30:54 AM: Started saving node modules
10:30:54 AM: Finished saving node modules
10:30:54 AM: Started saving build plugins
10:30:54 AM: Finished saving build plugins
10:30:54 AM: Started saving corepack cache
10:30:54 AM: Finished saving corepack cache
10:30:54 AM: Started saving pip cache
10:30:54 AM: Finished saving pip cache
10:30:54 AM: Started saving emacs cask dependencies
10:30:54 AM: Finished saving emacs cask dependencies
10:30:54 AM: Started saving maven dependencies
10:30:54 AM: Finished saving maven dependencies
10:30:54 AM: Started saving boot dependencies
10:30:55 AM: Finished saving boot dependencies
10:30:55 AM: Started saving rust rustup cache
10:30:55 AM: Finished saving rust rustup cache
10:30:55 AM: Started saving go dependencies
10:30:55 AM: Finished saving go dependencies
10:30:56 AM: Cached Ruby version 2.7.1
10:30:56 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
10:30:56 AM: Failing build: Failed to build site
10:30:56 AM: Finished processing build request in 2m8.066s

What site is this for?

Hey Sam, thanks for the response. I’m always sceptical about providing that on a public forum as it’s the name of my site. Shouldn’t that be private? (Or am I missing a secret ID somewhere?)

You can share the site ID from the settings or just the slug. You can PM if you don’t feel comfortable sharing it publicly. I’ve enabled this for your account please note this will slow our response time significantly.