4:34:05 PM: Build ready to start 4:34:07 PM: build-image version: ac716c5be7f79fe384a0f3759e8ef612cb821a37 (xenial) 4:34:07 PM: build-image tag: v3.13.0 4:34:07 PM: buildbot version: e552b142336b2b1222a93a4fd4cbed0019c77b46 4:34:08 PM: Fetching cached dependencies 4:34:08 PM: Failed to fetch cache, continuing with build 4:34:08 PM: Starting to prepare the repo for build 4:34:08 PM: No cached dependencies found. Cloning fresh repo 4:34:08 PM: git clone https://github.com/samgermain/sudSaskV2 4:34:17 PM: Preparing Git Reference refs/heads/production 4:34:19 PM: Parsing package.json dependencies 4:34:20 PM: Starting build script 4:34:20 PM: Installing dependencies 4:34:20 PM: Python version set to 2.7 4:34:21 PM: Downloading and installing node v14.4.0... 4:34:21 PM: Downloading https://nodejs.org/dist/v14.4.0/node-v14.4.0-linux-x64.tar.xz... 4:34:22 PM: Computing checksum with sha256sum 4:34:22 PM: Checksums matched! 4:34:24 PM: Now using node v14.4.0 (npm v6.14.5) 4:34:24 PM: Started restoring cached build plugins 4:34:24 PM: Finished restoring cached build plugins 4:34:24 PM: Attempting ruby version 2.6.2, read from environment 4:34:25 PM: Using ruby version 2.6.2 4:34:26 PM: Using PHP version 5.6 4:34:26 PM: No npm workspaces detected 4:34:26 PM: Started restoring cached node modules 4:34:26 PM: Finished restoring cached node modules 4:34:26 PM: Installing NPM modules using NPM version 6.14.5 4:34:27 PM: > suddenly-saskatchewan-magazine-website@0.1.0 preinstall /opt/build/repo 4:34:27 PM: > npx npm-force-resolutions 4:34:29 PM: npx: installed 6 in 1.931s 4:35:15 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! 4:35:15 PM: > sharp@0.27.2 install /opt/build/repo/node_modules/sharp 4:35:15 PM: > (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy) 4:35:17 PM: info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.10.5/libvips-8.10.5-linux-x64.tar.br 4:35:18 PM: > node-sass@4.14.1 install /opt/build/repo/node_modules/node-sass 4:35:18 PM: > node scripts/install.js 4:35:18 PM: Downloading binary from https://github.com/sass/node-sass/releases/download/v4.14.1/linux-x64-83_binding.node 4:35:19 PM: Download complete 4:35:19 PM: Binary saved to /opt/build/repo/node_modules/node-sass/vendor/linux-x64-83/binding.node 4:35:19 PM: Caching binary to /opt/buildhome/.npm/node-sass/4.14.1/linux-x64-83_binding.node 4:35:19 PM: > @fortawesome/fontawesome-common-types@0.2.35 postinstall /opt/build/repo/node_modules/@fortawesome/fontawesome-common-types 4:35:19 PM: > node attribution.js 4:35:19 PM: Font Awesome Free 0.2.35 by @fontawesome - https://fontawesome.com 4:35:19 PM: License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) 4:35:19 PM: > core-js@2.6.12 postinstall /opt/build/repo/node_modules/babel-polyfill/node_modules/core-js 4:35:19 PM: > node -e "try{require('./postinstall')}catch(e){}" 4:35:19 PM: > core-js@2.6.12 postinstall /opt/build/repo/node_modules/babel-runtime/node_modules/core-js 4:35:19 PM: > node -e "try{require('./postinstall')}catch(e){}" 4:35:19 PM: > core-js@3.10.1 postinstall /opt/build/repo/node_modules/core-js 4:35:19 PM: > node -e "try{require('./postinstall')}catch(e){}" 4:35:19 PM: > core-js-pure@3.10.1 postinstall /opt/build/repo/node_modules/core-js-pure 4:35:19 PM: > node -e "try{require('./postinstall')}catch(e){}" 4:35:20 PM: > gatsby-telemetry@1.10.1 postinstall /opt/build/repo/node_modules/gatsby-telemetry 4:35:20 PM: > node src/postinstall.js || true 4:35:20 PM: > mozjpeg@7.0.0 postinstall /opt/build/repo/node_modules/mozjpeg 4:35:20 PM: > node lib/install.js 4:35:21 PM: ✔ mozjpeg pre-build test passed successfully 4:35:21 PM: > pngquant-bin@6.0.0 postinstall /opt/build/repo/node_modules/pngquant-bin 4:35:21 PM: > node lib/install.js 4:35:21 PM: ✔ pngquant pre-build test passed successfully 4:35:21 PM: > gatsby-cli@2.19.2 postinstall /opt/build/repo/node_modules/gatsby-cli 4:35:21 PM: > node scripts/postinstall.js 4:35:21 PM: > @fortawesome/fontawesome-svg-core@1.2.35 postinstall /opt/build/repo/node_modules/@fortawesome/fontawesome-svg-core 4:35:21 PM: > node attribution.js 4:35:21 PM: Font Awesome Free 1.2.35 by @fontawesome - https://fontawesome.com 4:35:21 PM: License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) 4:35:21 PM: > @fortawesome/free-brands-svg-icons@5.15.3 postinstall /opt/build/repo/node_modules/@fortawesome/free-brands-svg-icons 4:35:21 PM: > node attribution.js 4:35:21 PM: Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com 4:35:21 PM: License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) 4:35:21 PM: > @fortawesome/free-solid-svg-icons@5.15.3 postinstall /opt/build/repo/node_modules/@fortawesome/free-solid-svg-icons 4:35:21 PM: > node attribution.js 4:35:21 PM: Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com 4:35:21 PM: License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) 4:35:21 PM: > gatsby@2.32.12 postinstall /opt/build/repo/node_modules/gatsby 4:35:21 PM: > node scripts/postinstall.js 4:35:22 PM: > node-sass@4.14.1 postinstall /opt/build/repo/node_modules/node-sass 4:35:22 PM: > node scripts/build.js 4:35:22 PM: Binary found at /opt/build/repo/node_modules/node-sass/vendor/linux-x64-83/binding.node 4:35:22 PM: Testing binary 4:35:22 PM: Binary is fine 4:35:24 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/webpack-dev-server/node_modules/fsevents): 4:35:24 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) 4:35:24 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents): 4:35:24 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) 4:35:24 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents): 4:35:24 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) 4:35:24 PM: added 2731 packages from 1255 contributors and audited 2738 packages in 57.395s 4:35:26 PM: 234 packages are looking for funding 4:35:26 PM: run `npm fund` for details 4:35:26 PM: found 156 vulnerabilities (2 low, 93 moderate, 49 high, 12 critical) 4:35:26 PM: run `npm audit fix` to fix them, or `npm audit` for details 4:35:26 PM: NPM modules installed 4:35:26 PM: Started restoring cached go cache 4:35:26 PM: Finished restoring cached go cache 4:35:26 PM: Installing Go version 1.12 4:35:31 PM: unset GOOS; 4:35:31 PM: unset GOARCH; 4:35:31 PM: export GOROOT='/opt/buildhome/.gimme_cache/versions/go1.12.linux.amd64'; 4:35:31 PM: export PATH="/opt/buildhome/.gimme_cache/versions/go1.12.linux.amd64/bin:${PATH}"; 4:35:31 PM: go version >&2; 4:35:31 PM: export GIMME_ENV="/opt/buildhome/.gimme_cache/env/go1.12.linux.amd64.env" 4:35:31 PM: go version go1.12 linux/amd64 4:35:31 PM: Installing missing commands 4:35:31 PM: Verify run directory 4:35:32 PM: 4:35:32 PM: ──────────────────────────────────────────────────────────────── 4:35:32 PM: Netlify Build 4:35:32 PM: ──────────────────────────────────────────────────────────────── 4:35:32 PM: 4:35:32 PM: ❯ Version 4:35:32 PM: @netlify/build 26.5.2 4:35:32 PM: 4:35:32 PM: ❯ Flags 4:35:32 PM: baseRelDir: true 4:35:32 PM: buildId: 6254acdd9564190009b8892b 4:35:32 PM: deployId: 6254acdd9564190009b8892d 4:35:32 PM: 4:35:32 PM: ❯ Current directory 4:35:32 PM: /opt/build/repo 4:35:32 PM: 4:35:32 PM: ❯ Config file 4:35:32 PM: No config file was defined: using default values. 4:35:32 PM: 4:35:32 PM: ❯ Context 4:35:32 PM: production 4:35:33 PM: 4:35:33 PM: ❯ Installing plugins 4:35:33 PM: - netlify-plugin-submit-sitemap@0.2 4:35:33 PM: - netlify-plugin-gatsby-cache@0.3.0 4:35:33 PM: - @netlify/plugin-sitemap@0.8.1 4:35:37 PM: 4:35:37 PM: ❯ Loading plugins 4:35:37 PM: - netlify-plugin-submit-sitemap@0.2.3 from Netlify app 4:35:37 PM: - netlify-plugin-gatsby-cache@0.3.0 from Netlify app 4:35:37 PM: - @netlify/plugin-sitemap@0.8.1 from Netlify app 4:35:37 PM: 4:35:37 PM: ❯ Outdated plugins 4:35:37 PM: - netlify-plugin-submit-sitemap@0.2.3: latest version is 0.3.0 4:35:37 PM: To upgrade this plugin, please uninstall and re-install it from the Netlify plugins directory (https://app.netlify.com/plugins) 4:35:40 PM: 4:35:40 PM: ──────────────────────────────────────────────────────────────── 4:35:40 PM: 1. netlify-plugin-gatsby-cache (onPreBuild event) 4:35:40 PM: ──────────────────────────────────────────────────────────────── 4:35:40 PM: 4:35:40 PM: No Gatsby cache found. Building fresh. 4:35:40 PM: 4:35:40 PM: (netlify-plugin-gatsby-cache onPreBuild completed in 10ms) 4:35:40 PM: 4:35:40 PM: ──────────────────────────────────────────────────────────────── 4:35:40 PM: 2. Build command from Netlify app 4:35:40 PM: ──────────────────────────────────────────────────────────────── 4:35:40 PM: 4:35:40 PM: $ gatsby build 4:35:40 PM: internal/modules/cjs/loader.js:1216 4:35:40 PM: throw new ERR_REQUIRE_ESM(filename, parentPath, packageJsonPath); 4:35:40 PM: ^ 4:35:40 PM: Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: /opt/build/repo/node_modules/configstore/node_modules/dot-prop/index.js 4:35:40 PM: require() of ES modules is not supported. 4:35:40 PM: require() of /opt/build/repo/node_modules/configstore/node_modules/dot-prop/index.js from /opt/build/repo/node_modules/configstore/index.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules. 4:35:40 PM: Instead rename /opt/build/repo/node_modules/configstore/node_modules/dot-prop/index.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from /opt/build/repo/node_modules/configstore/node_modules/dot-prop/package.json. 4:35:40 PM: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1216:13) 4:35:40 PM: at Module.load (internal/modules/cjs/loader.js:1049:32) 4:35:40 PM: at Function.Module._load (internal/modules/cjs/loader.js:937:14) 4:35:40 PM: at Module.require (internal/modules/cjs/loader.js:1089:19) 4:35:40 PM: at require (internal/modules/cjs/helpers.js:73:18) 4:35:40 PM: at Object.<anonymous> (/opt/build/repo/node_modules/configstore/index.js:8:17) 4:35:40 PM: at Module._compile (internal/modules/cjs/loader.js:1200:30) 4:35:40 PM: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10) 4:35:40 PM: at Module.load (internal/modules/cjs/loader.js:1049:32) 4:35:40 PM: at Function.Module._load (internal/modules/cjs/loader.js:937:14) { 4:35:40 PM: code: 'ERR_REQUIRE_ESM' 4:35:40 PM: } 4:35:40 PM: 4:35:40 PM: ──────────────────────────────────────────────────────────────── 4:35:40 PM: "build.command" failed 4:35:40 PM: ──────────────────────────────────────────────────────────────── 4:35:40 PM: 4:35:40 PM: Error message 4:35:40 PM: Command failed with exit code 1: gatsby build (https://ntl.fyi/exit-code-1) 4:35:40 PM: 4:35:40 PM: Error location 4:35:40 PM: In Build command from Netlify app: 4:35:40 PM: gatsby build 4:35:40 PM: 4:35:40 PM: Resolved config 4:35:40 PM: build: 4:35:40 PM: command: gatsby build 4:35:40 PM: commandOrigin: ui 4:35:40 PM: environment: 4:35:40 PM: - NODE_VERSION 4:35:40 PM: publish: /opt/build/repo/public 4:35:40 PM: publishOrigin: ui 4:35:40 PM: plugins: 4:35:40 PM: - inputs: {} 4:35:40 PM: origin: ui 4:35:40 PM: package: netlify-plugin-submit-sitemap 4:35:40 PM: - inputs: {} 4:35:40 PM: origin: ui 4:35:40 PM: package: netlify-plugin-gatsby-cache 4:35:40 PM: - inputs: {} 4:35:40 PM: origin: ui 4:35:40 PM: package: '@netlify/plugin-sitemap' 4:35:41 PM: Caching artifacts 4:35:41 PM: Started saving node modules 4:35:41 PM: Finished saving node modules 4:35:41 PM: Started saving build plugins 4:35:41 PM: Finished saving build plugins 4:35:41 PM: Started saving pip cache 4:35:41 PM: Finished saving pip cache 4:35:41 PM: Started saving emacs cask dependencies 4:35:41 PM: Finished saving emacs cask dependencies 4:35:41 PM: Started saving maven dependencies 4:35:41 PM: Finished saving maven dependencies 4:35:41 PM: Started saving boot dependencies 4:35:41 PM: Finished saving boot dependencies 4:35:41 PM: Started saving rust rustup cache 4:35:41 PM: Finished saving rust rustup cache 4:35:41 PM: Started saving go dependencies 4:35:42 PM: Finished saving go dependencies 4:35:44 PM: Build failed due to a user error: Build script returned non-zero exit code: 2 4:35:44 PM: Creating deploy upload records 4:35:44 PM: Failing build: Failed to build site 4:35:45 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2) 4:35:45 PM: Finished processing build request in 1m37.227675988s