build icon indicating copy to clipboard operation
build copied to clipboard

Error build gatsby site with image v3.13.0

Open rccclr opened this issue 2 years ago • 0 comments

Describe the bug

Hello, i have a build problem with the last image: v3.13.0 With the previous image: v3.11.0 is ok, but, with the last image: v3.13.0, error build. Many thanks

Steps to reproduce

Deploy the site in Netlify:

Site name: zangolotinosclublectura

Configuration

Error log resume:

6:54:00 PM: Build ready to start 6:54:02 PM: build-image version: ac716c5be7f79fe384a0f3759e8ef612cb821a37 (xenial) 6:54:02 PM: build-image tag: v3.13.0

6:56:42 PM: Netlify Build
6:56:42 PM: ──────────────────────────────────────────────────────────────── 6:56:42 PM: ​ 6:56:42 PM: ❯ Version 6:56:42 PM: @netlify/build 27.0.1 6:56:42 PM: ​ 6:56:42 PM: ❯ Flags 6:56:42 PM: baseRelDir: false 6:56:42 PM: buildId: 6262dda8a2e71509b0498278 6:56:42 PM: deployId: 6262dda8a2e71509b049827a 6:56:42 PM: ​ 6:56:42 PM: ❯ Current directory 6:56:42 PM: /opt/build/repo 6:56:42 PM: ​ 6:56:42 PM: ❯ Config file 6:56:42 PM: No config file was defined: using default values. 6:56:42 PM: ​ 6:56:42 PM: ❯ Context 6:56:42 PM: production 6:56:42 PM: ​

6:57:37 PM: gatsby build 6:57:37 PM: Build a Gatsby project. 6:57:37 PM: Options: 6:57:37 PM: --verbose Turn on verbose output [boolean] [default: false] 6:57:37 PM: --no-color Turn off the color in output [boolean] [default: false] 6:57:37 PM: --prefix-paths Build site with link paths prefixed (set prefix in your config). [boolean] [default: false] 6:57:37 PM: --no-uglify Build site without uglifying JS bundles (for debugging). [boolean] [default: false] 6:57:37 PM: -h, --help Show help [boolean] 6:57:37 PM: -v, --version Show version number [boolean] 6:57:37 PM: error There was a problem loading the local build command. Gatsby may not be installed. Perhaps you need to run "npm install"? 6:57:37 PM: 6:57:37 PM: Error: evalmachine.:1 6:57:37 PM: Object.getOwnPropertyNames(globalThis) 6:57:37 PM: ^ 6:57:37 PM: ReferenceError: globalThis is not defined 6:57:37 PM:

Deploy logs

6:54:00 PM: Build ready to start 6:54:02 PM: build-image version: ac716c5be7f79fe384a0f3759e8ef612cb821a37 (xenial) 6:54:02 PM: build-image tag: v3.13.0 6:54:02 PM: buildbot version: e58b6be665675c0f99b33132a8c1eec1f775eba1 6:54:02 PM: Building without cache 6:54:02 PM: Starting to prepare the repo for build 6:54:03 PM: No cached dependencies found. Cloning fresh repo 6:54:03 PM: git clone https://github.com/rccclr/zangolotinos 6:54:04 PM: Preparing Git Reference refs/heads/master 6:54:05 PM: Parsing package.json dependencies 6:54:06 PM: Starting build script 6:54:06 PM: Installing dependencies 6:54:06 PM: Python version set to 2.7 6:54:07 PM: Downloading and installing node v10.24.1... 6:54:07 PM: Downloading https://nodejs.org/dist/v10.24.1/node-v10.24.1-linux-x64.tar.xz... 6:54:08 PM: Computing checksum with sha256sum 6:54:08 PM: Checksums matched! 6:54:10 PM: Now using node v10.24.1 (npm v6.14.12) 6:54:10 PM: Started restoring cached build plugins 6:54:10 PM: Finished restoring cached build plugins 6:54:10 PM: Attempting ruby version 2.6.2, read from environment 6:54:11 PM: Using ruby version 2.6.2 6:54:12 PM: Using PHP version 5.6 6:54:12 PM: No npm workspaces detected 6:54:12 PM: Started restoring cached node modules 6:54:12 PM: Finished restoring cached node modules 6:54:12 PM: Installing NPM modules using NPM version 6.14.12 6:54:13 PM: npm WARN deprecated [email protected]: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates. 6:54:14 PM: npm WARN deprecated @material-ui/[email protected]: You can now upgrade to @mui/material. See the guide: https://mui.com/guides/migration-v4/ 6:54:14 PM: npm WARN deprecated [email protected]: gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates. 6:54:14 PM: npm WARN deprecated @material-ui/[email protected]: You can now upgrade to @mui/icons. See the guide: https://mui.com/guides/migration-v4/ 6:54:15 PM: npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). 6:54:16 PM: npm WARN deprecated [email protected]: Package moved to @redux-devtools/extension. 6:54:18 PM: npm WARN deprecated [email protected]: Switch to the bfj package for fixes and new features! 6:54:18 PM: npm WARN deprecated [email protected]: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1 6:54:18 PM: npm WARN deprecated @hapi/[email protected]: Switch to 'npm install joi' 6:54:19 PM: npm WARN deprecated [email protected]: gatsby-recipes has been removed from gatsby/gatsby-cli >=4.5.0. Update to gatsby@latest/gatsby-cli@latest to use versions without gatsby-recipes. This package will no longer receive updates. 6:54:19 PM: npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. 6:54:20 PM: npm WARN deprecated [email protected]: This SVGO version is no longer supported. Upgrade to v2.x.x. 6:54:20 PM: npm WARN deprecated [email protected]: core-js@<3.4 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. Please, upgrade your dependencies to the actual version of core-js. 6:54:20 PM: npm WARN deprecated [email protected]: Please migrate to Workbox: https://developers.google.com/web/tools/workbox/guides/migrations/migrate-from-sw 6:54:20 PM: npm WARN deprecated [email protected]: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update! 6:54:20 PM: npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. 6:54:21 PM: npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). 6:54:21 PM: npm WARN deprecated [email protected]: 'postcss-cssnext' has been deprecated in favor of 'postcss-preset-env'. Read more at https://moox.io/blog/deprecating-cssnext/ 6:54:24 PM: npm WARN deprecated [email protected]: GraphQL Import has been deprecated and merged into GraphQL Tools, so it will no longer get updates. Use GraphQL Tools instead to stay up-to-date! Check out https://www.graphql-tools.com/docs/migration-from-import for migration and https://the-guild.dev/blog/graphql-tools-v6 for new changes. 6:54:25 PM: npm WARN deprecated @hapi/[email protected]: Moved to 'npm install @sideway/address' 6:54:25 PM: npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained 6:54:25 PM: npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained 6:54:25 PM: npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained 6:54:26 PM: npm WARN deprecated @types/[email protected]: This is a stub types definition. history provides its own type definitions, so you do not need this installed. 6:54:27 PM: npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 6:54:28 PM: npm WARN deprecated [email protected]: Please migrate to Workbox: https://developers.google.com/web/tools/workbox/guides/migrations/migrate-from-sw 6:54:29 PM: npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. 6:54:29 PM: npm WARN deprecated [email protected]: Deprecated. Please use https://github.com/webpack-contrib/mini-css-extract-plugin 6:54:29 PM: npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). 6:54:29 PM: npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). 6:54:31 PM: npm WARN deprecated [email protected]: Not maintained anymore. 6:54:31 PM: npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. 6:54:31 PM: npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) 6:54:31 PM: npm WARN deprecated [email protected]: Package moved to @redux-devtools/app. 6:54:31 PM: npm WARN deprecated [email protected]: Package moved to @redux-devtools/instrument. 6:54:32 PM: npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). 6:54:33 PM: npm WARN deprecated [email protected]: 3.7.3 6:54:34 PM: npm WARN deprecated [email protected]: core-js@<3.4 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. Please, upgrade your dependencies to the actual version of core-js. 6:54:35 PM: npm WARN deprecated [email protected]: this library is no longer supported 6:54:36 PM: npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated 6:54:36 PM: npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated 6:54:37 PM: npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. 6:54:37 PM: npm WARN deprecated [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools. 6:54:38 PM: npm WARN deprecated [email protected]: Package moved to @redux-devtools/serialize. 6:54:38 PM: npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. 6:54:39 PM: npm WARN deprecated [email protected]: This module has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version of hapi to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). 6:54:40 PM: npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated 6:54:40 PM: npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated 6:54:42 PM: npm WARN deprecated [email protected]: flatten is deprecated in favor of utility frameworks such as lodash. 6:54:43 PM: npm WARN deprecated [email protected]: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added 6:54:44 PM: npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. 6:54:46 PM: npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 6:55:35 PM: > [email protected] install /opt/build/repo/node_modules/sharp-cli/node_modules/sharp 6:55:35 PM: > (node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy) 6:55:37 PM: info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.9.1/libvips-8.9.1-linux-x64.tar.gz 6:55:38 PM: > [email protected] install /opt/build/repo/node_modules/gatsby-plugin-manifest/node_modules/sharp 6:55:38 PM: > (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy) 6:55:42 PM: info sharp Detected globally-installed libvips v8.6.2 6:55:42 PM: info sharp Building from source via node-gyp 6:55:46 PM: make: Entering directory '/opt/build/repo/node_modules/gatsby-plugin-manifest/node_modules/sharp/build' 6:55:46 PM: TOUCH Release/obj.target/libvips-cpp.stamp 6:55:46 PM: CXX(target) Release/obj.target/sharp/src/common.o 6:55:49 PM: CXX(target) Release/obj.target/sharp/src/metadata.o 6:55:51 PM: CXX(target) Release/obj.target/sharp/src/stats.o 6:55:52 PM: CXX(target) Release/obj.target/sharp/src/operations.o 6:55:54 PM: CXX(target) Release/obj.target/sharp/src/pipeline.o 6:55:58 PM: CXX(target) Release/obj.target/sharp/src/sharp.o 6:55:59 PM: CXX(target) Release/obj.target/sharp/src/utilities.o 6:56:01 PM: SOLINK_MODULE(target) Release/obj.target/sharp.node 6:56:01 PM: COPY Release/sharp.node 6:56:01 PM: make: Leaving directory '/opt/build/repo/node_modules/gatsby-plugin-manifest/node_modules/sharp/build' 6:56:01 PM: > [email protected] install /opt/build/repo/node_modules/gatsby-plugin-sharp/node_modules/sharp 6:56:01 PM: > (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy) 6:56:04 PM: info sharp Detected globally-installed libvips v8.6.2 6:56:04 PM: info sharp Building from source via node-gyp 6:56:07 PM: make: Entering directory '/opt/build/repo/node_modules/gatsby-plugin-sharp/node_modules/sharp/build' 6:56:07 PM: TOUCH Release/obj.target/libvips-cpp.stamp 6:56:07 PM: CXX(target) Release/obj.target/sharp/src/common.o 6:56:10 PM: CXX(target) Release/obj.target/sharp/src/metadata.o 6:56:11 PM: CXX(target) Release/obj.target/sharp/src/stats.o 6:56:13 PM: CXX(target) Release/obj.target/sharp/src/operations.o 6:56:16 PM: CXX(target) Release/obj.target/sharp/src/pipeline.o 6:56:19 PM: CXX(target) Release/obj.target/sharp/src/sharp.o 6:56:21 PM: CXX(target) Release/obj.target/sharp/src/utilities.o 6:56:22 PM: SOLINK_MODULE(target) Release/obj.target/sharp.node 6:56:22 PM: COPY Release/sharp.node 6:56:22 PM: make: Leaving directory '/opt/build/repo/node_modules/gatsby-plugin-sharp/node_modules/sharp/build' 6:56:23 PM: > [email protected] install /opt/build/repo/node_modules/sharp 6:56:23 PM: > (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy) 6:56:24 PM: info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.7.4/libvips-8.7.4-linux-x64.tar.gz 6:56:26 PM: > [email protected] postinstall /opt/build/repo/node_modules/@material-ui/icons/node_modules/core-js 6:56:26 PM: > node -e "try{require('./postinstall')}catch(e){}" 6:56:26 PM: > [email protected] postinstall /opt/build/repo/node_modules/babel-polyfill/node_modules/core-js 6:56:26 PM: > node -e "try{require('./postinstall')}catch(e){}" 6:56:26 PM: > [email protected] postinstall /opt/build/repo/node_modules/babel-register/node_modules/core-js 6:56:26 PM: > node -e "try{require('./postinstall')}catch(e){}" 6:56:26 PM: > [email protected] postinstall /opt/build/repo/node_modules/babel-runtime/node_modules/core-js 6:56:26 PM: > node -e "try{require('./postinstall')}catch(e){}" 6:56:26 PM: > [email protected] postinstall /opt/build/repo/node_modules/core-js-pure 6:56:26 PM: > node -e "try{require('./postinstall')}catch(e){}" 6:56:27 PM: > [email protected] postinstall /opt/build/repo/node_modules/ejs 6:56:27 PM: > node ./postinstall.js 6:56:27 PM: > [email protected] postinstall /opt/build/repo/node_modules/gatsby-plugin-react-next/node_modules/core-js 6:56:27 PM: > node -e "try{require('./postinstall')}catch(e){}" 6:56:27 PM: > [email protected] postinstall /opt/build/repo/node_modules/gatsby/node_modules/core-js 6:56:27 PM: > node -e "try{require('./postinstall')}catch(e){}" 6:56:27 PM: > [email protected] postinstall /opt/build/repo/node_modules/jss 6:56:27 PM: > node -e "console.log('\u001b[35m\u001b[1mLove JSS? You can now support us on open collective:\u001b[22m\u001b[39m\n > \u001b[34mhttps://opencollective.com/jss/donate\u001b[0m')" 6:56:27 PM: Love JSS? You can now support us on open collective: 6:56:27 PM: > https://opencollective.com/jss/donate 6:56:28 PM: > [email protected] postinstall /opt/build/repo/node_modules/es5-ext 6:56:28 PM: > node -e "try{require('./_postinstall')}catch(e){}" || exit 0 6:56:28 PM: > [email protected] postinstall /opt/build/repo/node_modules/gatsby-telemetry 6:56:28 PM: > node src/postinstall.js || true 6:56:28 PM: > [email protected] postinstall /opt/build/repo/node_modules/cwebp-bin 6:56:28 PM: > node lib/install.js 6:56:28 PM: ✔ cwebp pre-build test passed successfully 6:56:28 PM: > [email protected] postinstall /opt/build/repo/node_modules/pngquant-bin 6:56:28 PM: > node lib/install.js 6:56:29 PM: ✔ pngquant pre-build test passed successfully 6:56:29 PM: > [email protected] postinstall /opt/build/repo/node_modules/gatsby-cli 6:56:29 PM: > node scripts/postinstall.js 6:56:32 PM: npm notice created a lockfile as package-lock.json. You should commit this file. 6:56:32 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents): 6:56:32 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) 6:56:32 PM: npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=12"} (current: {"node":"10.24.1","npm":"6.14.12"}) 6:56:32 PM: npm WARN notsup Not compatible with your version of node/npm: [email protected] 6:56:32 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/gatsby-recipes/node_modules/chokidar/node_modules/fsevents): 6:56:32 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) 6:56:32 PM: npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=12.20"} (current: {"node":"10.24.1","npm":"6.14.12"}) 6:56:32 PM: npm WARN notsup Not compatible with your version of node/npm: [email protected] 6:56:32 PM: npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=0.10.0 <7"} (current: {"node":"10.24.1","npm":"6.14.12"}) 6:56:32 PM: npm WARN notsup Not compatible with your version of node/npm: [email protected] 6:56:32 PM: npm WARN @material-ui/[email protected] requires a peer of react@^16.3.0 but none is installed. You must install peer dependencies yourself. 6:56:32 PM: npm WARN @material-ui/[email protected] requires a peer of react-dom@^16.3.0 but none is installed. You must install peer dependencies yourself. 6:56:32 PM: npm WARN @material-ui/[email protected] requires a peer of react@^16.3.0 but none is installed. You must install peer dependencies yourself. 6:56:32 PM: npm WARN @material-ui/[email protected] requires a peer of react-dom@^16.3.0 but none is installed. You must install peer dependencies yourself. 6:56:32 PM: npm WARN [email protected] requires a peer of react@^16.3.0 but none is installed. You must install peer dependencies yourself. 6:56:32 PM: npm WARN [email protected] requires a peer of webpack@^2.0.0 || ^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself. 6:56:32 PM: npm WARN @graphql-tools/[email protected] requires a peer of graphql@^14.0.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself. 6:56:32 PM: npm WARN @graphql-tools/[email protected] requires a peer of graphql@^14.0.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself. 6:56:32 PM: npm WARN [email protected] requires a peer of graphql@>=0.13.0 || >=14.0.0 || >=14.1.0 but none is installed. You must install peer dependencies yourself. 6:56:32 PM: npm WARN @turist/[email protected] requires a peer of node-fetch@2 but none is installed. You must install peer dependencies yourself. 6:56:32 PM: npm WARN [email protected] requires a peer of acorn@^6.0.0 || ^7.0.0 || ^8.0.0 but none is installed. You must install peer dependencies yourself. 6:56:32 PM: npm WARN [email protected] requires a peer of react-native@>= 0.32.0 but none is installed. You must install peer dependencies yourself. 6:56:32 PM: npm WARN [email protected] requires a peer of graphql@^0.12.0 || ^0.13.0 but none is installed. You must install peer dependencies yourself. 6:56:32 PM: added 3050 packages from 1593 contributors and audited 3055 packages in 138.937s 6:56:34 PM: 236 packages are looking for funding 6:56:34 PM: run npm fund for details 6:56:34 PM: found 124 vulnerabilities (21 low, 43 moderate, 50 high, 10 critical) 6:56:34 PM: run npm audit fix to fix them, or npm audit for details 6:56:34 PM: NPM modules installed 6:56:34 PM: Started restoring cached go cache 6:56:34 PM: Finished restoring cached go cache 6:56:34 PM: Installing Go version 1.12 6:56:40 PM: unset GOOS; 6:56:40 PM: unset GOARCH; 6:56:40 PM: export GOROOT='/opt/buildhome/.gimme_cache/versions/go1.12.linux.amd64'; 6:56:40 PM: export PATH="/opt/buildhome/.gimme_cache/versions/go1.12.linux.amd64/bin:${PATH}"; 6:56:40 PM: go version >&2; 6:56:40 PM: export GIMME_ENV="/opt/buildhome/.gimme_cache/env/go1.12.linux.amd64.env" 6:56:40 PM: go version go1.12 linux/amd64 6:56:40 PM: Installing missing commands 6:56:40 PM: Verify run directory 6:56:42 PM: ​ 6:56:42 PM: ──────────────────────────────────────────────────────────────── 6:56:42 PM: Netlify Build
6:56:42 PM: ──────────────────────────────────────────────────────────────── 6:56:42 PM: ​ 6:56:42 PM: ❯ Version 6:56:42 PM: @netlify/build 27.0.1 6:56:42 PM: ​ 6:56:42 PM: ❯ Flags 6:56:42 PM: baseRelDir: false 6:56:42 PM: buildId: 6262dda8a2e71509b0498278 6:56:42 PM: deployId: 6262dda8a2e71509b049827a 6:56:42 PM: ​ 6:56:42 PM: ❯ Current directory 6:56:42 PM: /opt/build/repo 6:56:42 PM: ​ 6:56:42 PM: ❯ Config file 6:56:42 PM: No config file was defined: using default values. 6:56:42 PM: ​ 6:56:42 PM: ❯ Context 6:56:42 PM: production 6:56:42 PM: ​ 6:56:42 PM: ──────────────────────────────────────────────────────────────── 6:56:42 PM: 1. Build command from Netlify app
6:56:42 PM: ──────────────────────────────────────────────────────────────── 6:56:42 PM: ​ 6:56:42 PM: $ npm remove graphql && npm install gatsby && gatsby build 6:57:01 PM: npm WARN @graphql-tools/[email protected] requires a peer of graphql@^14.0.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself. 6:57:01 PM: npm WARN @graphql-tools/[email protected] requires a peer of graphql@^14.0.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself. 6:57:01 PM: npm WARN @material-ui/[email protected] requires a peer of react@^16.3.0 but none is installed. You must install peer dependencies yourself. 6:57:01 PM: npm WARN @material-ui/[email protected] requires a peer of react-dom@^16.3.0 but none is installed. You must install peer dependencies yourself. 6:57:01 PM: npm WARN @material-ui/[email protected] requires a peer of react@^16.3.0 but none is installed. You must install peer dependencies yourself. 6:57:01 PM: npm WARN @material-ui/[email protected] requires a peer of react-dom@^16.3.0 but none is installed. You must install peer dependencies yourself. 6:57:01 PM: npm WARN @turist/[email protected] requires a peer of node-fetch@2 but none is installed. You must install peer dependencies yourself. 6:57:01 PM: npm WARN [email protected] requires a peer of acorn@^6.0.0 || ^7.0.0 || ^8.0.0 but none is installed. You must install peer dependencies yourself. 6:57:01 PM: npm WARN [email protected] requires a peer of graphql@^0.12.0 || ^0.13.0 but none is installed. You must install peer dependencies yourself. 6:57:01 PM: npm WARN [email protected] requires a peer of webpack@^2.0.0 || ^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself. 6:57:01 PM: npm WARN [email protected] requires a peer of graphql@>=0.13.0 || >=14.0.0 || >=14.1.0 but none is installed. You must install peer dependencies yourself. 6:57:01 PM: npm WARN [email protected] requires a peer of react@^16.3.0 but none is installed. You must install peer dependencies yourself. 6:57:01 PM: npm WARN [email protected] requires a peer of react-native@>= 0.32.0 but none is installed. You must install peer dependencies yourself. 6:57:01 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents): 6:57:01 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) 6:57:01 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/gatsby-recipes/node_modules/fsevents): 6:57:01 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) 6:57:01 PM: audited 3055 packages in 18.629s 6:57:03 PM: 236 packages are looking for funding 6:57:03 PM: run npm fund for details 6:57:03 PM: found 124 vulnerabilities (21 low, 43 moderate, 50 high, 10 critical) 6:57:03 PM: run npm audit fix to fix them, or npm audit for details 6:57:13 PM: npm WARN deprecated [email protected]: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update! 6:57:13 PM: npm WARN deprecated [email protected]: core-js@<3.4 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. Please, upgrade your dependencies to the actual version of core-js. 6:57:13 PM: npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). 6:57:13 PM: npm WARN deprecated [email protected]: 'postcss-cssnext' has been deprecated in favor of 'postcss-preset-env'. Read more at https://moox.io/blog/deprecating-cssnext/ 6:57:16 PM: npm WARN deprecated [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools. 6:57:16 PM: npm WARN deprecated [email protected]: flatten is deprecated in favor of utility frameworks such as lodash. 6:57:17 PM: npm WARN deprecated [email protected]: Deprecated. Please use https://github.com/webpack-contrib/mini-css-extract-plugin 6:57:18 PM: npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). 6:57:18 PM: npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). 6:57:19 PM: npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. 6:57:20 PM: npm WARN deprecated [email protected]: Not maintained anymore. 6:57:20 PM: npm WARN deprecated [email protected]: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added 6:57:22 PM: npm WARN deprecated [email protected]: Package moved to @redux-devtools/instrument. 6:57:23 PM: npm WARN deprecated [email protected]: Package moved to @redux-devtools/app. 6:57:23 PM: npm WARN deprecated [email protected]: Package moved to @redux-devtools/serialize. 6:57:23 PM: npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. 6:57:24 PM: npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) 6:57:26 PM: npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). 6:57:26 PM: npm WARN deprecated [email protected]: This module has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version of hapi to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). 6:57:34 PM: npm WARN rm not removing /opt/build/repo/node_modules/.bin/gatsby as it wasn't installed by /opt/build/repo/node_modules/gatsby npm WARN @graphql-tools/[email protected] requires a peer of graphql@^14.0.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself. 6:57:34 PM: npm WARN @graphql-tools/[email protected] requires a peer of graphql@^14.0.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself. 6:57:34 PM: npm WARN @material-ui/[email protected] requires a peer of react@^16.3.0 but none is installed. You must install peer dependencies yourself. 6:57:34 PM: npm WARN @material-ui/[email protected] requires a peer of react-dom@^16.3.0 but none is installed. You must install peer dependencies yourself. 6:57:34 PM: npm WARN @material-ui/[email protected] requires a peer of react@^16.3.0 but none is installed. You must install peer dependencies yourself. 6:57:34 PM: npm WARN @material-ui/[email protected] requires a peer of react-dom@^16.3.0 but none is installed. You must install peer dependencies yourself. 6:57:34 PM: npm WARN @turist/[email protected] requires a peer of node-fetch@2 but none is installed. You must install peer dependencies yourself. 6:57:34 PM: npm WARN [email protected] requires a peer of acorn@^6.0.0 || ^7.0.0 || ^8.0.0 but none is installed. You must install peer dependencies yourself. 6:57:34 PM: npm WARN [email protected] requires a peer of graphql@^0.12.0 || ^0.13.0 but none is installed. You must install peer dependencies yourself. 6:57:34 PM: npm WARN [email protected] requires a peer of graphql@>=0.13.0 || >=14.0.0 || >=14.1.0 but none is installed. You must install peer dependencies yourself. 6:57:34 PM: npm WARN [email protected] requires a peer of react@^16.3.0 but none is installed. You must install peer dependencies yourself. 6:57:34 PM: npm WARN [email protected] requires a peer of react-native@>= 0.32.0 but none is installed. You must install peer dependencies yourself. 6:57:34 PM: npm WARN [email protected] requires a peer of webpack@^2.0.0 || ^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself. 6:57:34 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents): 6:57:34 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) 6:57:34 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/gatsby-recipes/node_modules/fsevents): 6:57:34 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) 6:57:34 PM: + [email protected] 6:57:34 PM: updated 1 package and audited 3055 packages in 30.593s 6:57:37 PM: 234 packages are looking for funding 6:57:37 PM: run npm fund for details 6:57:37 PM: found 124 vulnerabilities (21 low, 43 moderate, 50 high, 10 critical) 6:57:37 PM: run npm audit fix to fix them, or npm audit for details 6:57:37 PM: gatsby build 6:57:37 PM: Build a Gatsby project. 6:57:37 PM: Options: 6:57:37 PM: --verbose Turn on verbose output [boolean] [default: false] 6:57:37 PM: --no-color Turn off the color in output [boolean] [default: false] 6:57:37 PM: --prefix-paths Build site with link paths prefixed (set prefix in your config). [boolean] [default: false] 6:57:37 PM: --no-uglify Build site without uglifying JS bundles (for debugging). [boolean] [default: false] 6:57:37 PM: -h, --help Show help [boolean] 6:57:37 PM: -v, --version Show version number [boolean] 6:57:37 PM: error There was a problem loading the local build command. Gatsby may not be installed. Perhaps you need to run "npm install"? 6:57:37 PM: 6:57:37 PM: Error: evalmachine.:1 6:57:37 PM: Object.getOwnPropertyNames(globalThis) 6:57:37 PM: ^ 6:57:37 PM: ReferenceError: globalThis is not defined 6:57:37 PM:
6:57:37 PM: - evalmachine.:1 6:57:37 PM: evalmachine.:1:28 6:57:37 PM:
6:57:37 PM: - eval.js:17 Object. 6:57:37 PM: [repo]/[eval]/eval.js:17:4 6:57:37 PM:
6:57:37 PM: - loader.js:778 Module._compile 6:57:37 PM: internal/modules/cjs/loader.js:778:30 6:57:37 PM:
6:57:37 PM: - loader.js:789 Object.Module._extensions..js 6:57:37 PM: internal/modules/cjs/loader.js:789:10 6:57:37 PM:
6:57:37 PM: - loader.js:653 Module.load 6:57:37 PM: internal/modules/cjs/loader.js:653:32 6:57:37 PM:
6:57:37 PM: - loader.js:593 tryModuleLoad 6:57:37 PM: internal/modules/cjs/loader.js:593:12 6:57:37 PM:
6:57:37 PM: - loader.js:585 Function.Module._load 6:57:37 PM: internal/modules/cjs/loader.js:585:3 6:57:37 PM:
6:57:37 PM: - loader.js:692 Module.require 6:57:37 PM: internal/modules/cjs/loader.js:692:17 6:57:37 PM:
6:57:37 PM: 6:57:37 PM: ​ 6:57:37 PM: ──────────────────────────────────────────────────────────────── 6:57:37 PM: "build.command" failed
6:57:37 PM: ──────────────────────────────────────────────────────────────── 6:57:37 PM: ​ 6:57:37 PM: Error message 6:57:37 PM: Command failed with exit code 1: npm remove graphql && npm install gatsby && gatsby build (https://ntl.fyi/exit-code-1) 6:57:37 PM: ​ 6:57:37 PM: Error location 6:57:37 PM: In Build command from Netlify app: 6:57:37 PM: npm remove graphql && npm install gatsby && gatsby build 6:57:37 PM: ​ 6:57:37 PM: Resolved config 6:57:37 PM: build: 6:57:37 PM: command: npm remove graphql && npm install gatsby && gatsby build 6:57:37 PM: commandOrigin: ui 6:57:37 PM: publish: /opt/build/repo/public 6:57:37 PM: publishOrigin: ui 6:57:38 PM: Caching artifacts 6:57:38 PM: Started saving node modules 6:57:38 PM: Finished saving node modules 6:57:38 PM: Started saving build plugins 6:57:38 PM: Finished saving build plugins 6:57:38 PM: Started saving pip cache 6:57:38 PM: Finished saving pip cache 6:57:38 PM: Started saving emacs cask dependencies 6:57:38 PM: Finished saving emacs cask dependencies 6:57:38 PM: Started saving maven dependencies 6:57:38 PM: Finished saving maven dependencies 6:57:38 PM: Started saving boot dependencies 6:57:38 PM: Finished saving boot dependencies 6:57:38 PM: Started saving rust rustup cache 6:57:38 PM: Finished saving rust rustup cache 6:57:38 PM: Started saving go dependencies 6:57:39 PM: Finished saving go dependencies 6:57:41 PM: Build failed due to a user error: Build script returned non-zero exit code: 2 6:57:41 PM: Creating deploy upload records 6:57:41 PM: Failing build: Failed to build site 6:57:41 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2) 6:57:41 PM: Finished processing build request in 3m39.114907568s

rccclr avatar Apr 23 '22 08:04 rccclr