I am newbie for Netlify. Not sure what where to check for the undefined objects. Appreciate your help. Hanging with deployment issue for more than weeks. Thanks. Detail below.
Using Node Js V - 18.17.0
NPM Version - 6.14.6.
site name: classy-daifuku-787bdf.netlify.app
Netlify logs
12:47:47 AM: build-image version: e70ad4c6ce38c2b84143366f988574c7090c7a66 (focal)
12:47:47 AM: buildbot version: 772f37e89357306aa6b5e4cd44b7e7caa3511258
12:47:47 AM: Building without cache
12:47:47 AM: Starting to prepare the repo for build
12:47:47 AM: No cached dependencies found. Cloning fresh repo
12:47:47 AM: git clone --filter=blob:none https://github.com/joinpoc/strapipoc
12:47:48 AM: Preparing Git Reference refs/heads/dev
12:47:49 AM:
❯ Initial build environment
baseRelDir: true
branch: dev
context: production
cwd: /opt/build/repo
featureFlags:
mode: buildbot
repositoryRoot: /opt/build/repo
siteId: 61c63604-6733-477f-a147-7cf53b810fa3
❯ UI build settings
baseRelDir: true
build:
base: frontend
command: npm install --force && CI= npm run build
environment:
- CI
- GATSBY_STRAPI_URL
- NETLIFY_BUILD_DEBUG
- NODE_VERSION
- NPM_FLAGS
- NPM_VERSION
publish: public
plugins:
- inputs: {}
package: “@netlify/plugin-gatsby”
❯ Resolved build environment
branch: dev
buildDir: /opt/build/repo/frontend
context: production
env:
❯ Resolved config
build:
base: /opt/build/repo/frontend
command: npm install --force && CI= npm run build
commandOrigin: ui
environment:- CI
- GATSBY_STRAPI_URL
- NETLIFY_BUILD_DEBUG
- NODE_VERSION
- NPM_FLAGS
- NPM_VERSION
publish: /opt/build/repo/frontend/public
publishOrigin: ui
plugins:
- inputs: {}
origin: ui
package: “@netlify/plugin-gatsby”
12:47:49 AM: Custom publish path detected. Proceeding with the specified path: “frontend/public”
12:47:49 AM: Starting to install dependencies
12:47:49 AM: Python version set to 3.8
12:47:50 AM: Attempting Ruby version 2.7.2, read from environment
12:47:50 AM: Using Ruby version 2.7.2
12:47:51 AM: Started restoring cached go cache
12:47:51 AM: Finished restoring cached go cache
12:47:51 AM: go version go1.19.13 linux/amd64
12:47:51 AM: Using PHP version 8.0
12:47:52 AM: Downloading and installing node v18.17.0…
12:47:52 AM: Downloading https://nodejs.org/dist/v18.17.0/node-v18.17.0-linux-x64.tar.xz…
12:47:52 AM: Computing checksum with sha256sum
12:47:52 AM: Checksums matched!
12:47:54 AM: Now using node v18.17.0 (npm v9.6.7)
12:47:55 AM: Enabling Node.js Corepack
12:47:55 AM: Started restoring cached build plugins
12:47:55 AM: Finished restoring cached build plugins
12:47:55 AM: Started restoring cached corepack dependencies
12:47:55 AM: Finished restoring cached corepack dependencies
12:47:55 AM: No npm workspaces detected
12:47:55 AM: Started restoring cached node modules
12:47:55 AM: Finished restoring cached node modules
12:47:55 AM: Found npm version (9.6.7) that doesn"t match expected (6.14.6)
Installing npm version 6.14.6
12:47:57 AM: removed 123 packages, and changed 110 packages in 2s
12:47:57 AM: 2 packages are looking for funding
12:47:57 AM: run npm fund
for details
12:47:57 AM: npm installed successfully
12:47:58 AM: Installing npm packages using npm version 6.14.6
12:47:58 AM: npm WARN using --force I sure hope you know what you are doing.
12:48:00 AM: npm notice created a lockfile as package-lock.json. You should commit this file.
12:48:00 AM: + install0.13.0
12:48:00 AM: + npm10.2.0
12:48:00 AM: added 265 packages from 115 contributors and audited 265 packages in 2.316s
12:48:00 AM: 29 packages are looking for funding
12:48:00 AM: run npm fund
for details
12:48:00 AM: found 0 vulnerabilities
12:48:00 AM: npm packages installed
12:48:01 AM: Install dependencies script success
12:48:01 AM: Starting build script
12:48:02 AM: Detected 1 framework(s)
12:48:02 AM: “gatsby” at version “2.24.61”
12:48:02 AM: Section completed: initializing
12:48:03 AM:
12:48:03 AM: Netlify Build
12:48:03 AM: ────────────────────────────────────────────────────────────────
12:48:03 AM:
12:48:03 AM: ❯ Version
12:48:03 AM: netlify/build 29.22.1
12:48:03 AM:
12:48:03 AM: ❯ Flags
12:48:03 AM: apiHost: api.netlify.com
12:48:03 AM: baseRelDir: true
12:48:03 AM: branch: dev
12:48:03 AM: buildId: 652628f1c0461f03102d0992
12:48:03 AM: buildbotServerSocket: /tmp/netlify-buildbot-socket
12:48:03 AM: cacheDir: /opt/build/cache
12:48:03 AM: cachedConfigPath: /tmp/netlify_config.json
12:48:03 AM: context: production
12:48:03 AM: cwd: /opt/build/repo
12:48:03 AM: deployId: 652628f1c0461f03102d0994
12:48:03 AM: edgeFunctionsDistDir: /tmp/edge-652628f1c0461f03102d0994
12:48:03 AM: featureFlags:
12:48:03 AM: - buildbot_zisi_system_log
12:48:03 AM: - edge_functions_cache_cli
12:48:03 AM: - edge_functions_system_logger
12:48:03 AM: framework: gatsby
12:48:03 AM: functionsDistDir: /tmp/zisi-652628f1c0461f03102d0994
12:48:03 AM: mode: buildbot
12:48:03 AM: nodePath: /opt/buildhome/.nvm/versions/node/v18.17.0/bin/node
12:48:03 AM: repositoryRoot: /opt/build/repo
12:48:03 AM: saveConfig: true
12:48:03 AM: sendStatus: true
12:48:03 AM: siteId: 61c63604-6733-477f-a147-7cf53b810fa3
12:48:03 AM: statsd:
12:48:03 AM: host: 10.71.154.179
12:48:03 AM: port: 8125
12:48:03 AM: systemLogFile: 3
12:48:03 AM: testOpts:
12:48:03 AM: silentLingeringProcesses: “”
12:48:03 AM: tracing:
12:48:03 AM: enabled: true
12:48:03 AM: host: 10.71.154.179
12:48:03 AM: parent-span-id: 2258e9f6516a9e8d
12:48:03 AM: parentSpanId: 2258e9f6516a9e8d
12:48:03 AM: sample-rate: 4
12:48:03 AM: sampleRate: 4
12:48:03 AM: trace-flags: 1
12:48:03 AM: trace-id: 1630f1a1d52a62792de9f7cc6732b2b2
12:48:03 AM: traceFlags: 1
12:48:03 AM: traceId: 1630f1a1d52a62792de9f7cc6732b2b2
12:48:03 AM:
12:48:03 AM: ❯ Current directory
12:48:03 AM: /opt/build/repo/frontend
12:48:03 AM:
12:48:03 AM: ❯ Config file
12:48:03 AM: No config file was defined: using default values.
12:48:03 AM:
12:48:03 AM: ❯ Resolved config
12:48:03 AM: build:
12:48:03 AM: base: /opt/build/repo/frontend
12:48:03 AM: command: npm install --force && CI= npm run build
12:48:03 AM: commandOrigin: ui
12:48:03 AM: environment:
12:48:03 AM: - CI
12:48:03 AM: - GATSBY_STRAPI_URL
12:48:03 AM: - NETLIFY_BUILD_DEBUG
12:48:03 AM: - NODE_VERSION
12:48:03 AM: - NPM_FLAGS
12:48:03 AM: - NPM_VERSION
12:48:03 AM: publish: /opt/build/repo/frontend/public
12:48:03 AM: publishOrigin: ui
12:48:03 AM: plugins:
12:48:03 AM: - inputs: {}
12:48:03 AM: origin: ui
12:48:03 AM: package: “netlify/plugin-gatsby”
12:48:03 AM:
12:48:03 AM: ❯ Context
12:48:03 AM: production
12:48:03 AM:
12:48:03 AM: ❯ Available plugins
12:48:03 AM: - 21yunbox/netlify-plugin-21yunbox-deploy-to-china-cdn@1.0.7
12:48:03 AM: - algolia/netlify-plugin-crawler@1.0.0
12:48:03 AM: - bharathvaj/netlify-plugin-airbrake1.0.2
12:48:03 AM: - chiselstrike/netlify-plugin0.1.0
12:48:03 AM: - commandbar/netlify-plugin-commandbar0.0.4
12:48:03 AM: - helloample/netlify-plugin-replace1.1.4
12:48:03 AM: - netlify/feature-package-pilot0.1.11
12:48:03 AM: - netlify/plugin-angular-universal1.0.1
12:48:03 AM: - netlify/plugin-contentful-buildtime0.0.3
12:48:03 AM: - netlify/plugin-emails1.0.3
12:48:03 AM: - netlify/plugin-gatsby3.7.2
12:48:03 AM: - netlify/plugin-lighthouse5.0.0
12:48:03 AM: - netlify/plugin-nextjs4.40.2
12:48:03 AM: - netlify/plugin-sitemap0.8.1
12:48:03 AM: - newrelic/netlify-plugin1.0.2
12:48:03 AM: - sentry/netlify-build-plugin@1.1.1
12:48:03 AM: - snaplet/netlify-preview-database-plugin@2.0.0
12:48:03 AM: - takeshape/netlify-plugin-takeshape@1.0.0
12:48:03 AM: - vgs/netlify-plugin-vgs0.0.2
12:48:03 AM: - netlify-build-plugin-dareboost@1.2.1
12:48:03 AM: - netlify-build-plugin-debugbear@1.0.6
12:48:03 AM: - netlify-build-plugin-perfbeacon@1.0.3
12:48:03 AM: - netlify-build-plugin-speedcurve@2.0.0
12:48:03 AM: - netlify-deployment-hours-plugin0.0.10
12:48:03 AM:
12:48:03 AM: ❯ Installing plugins
12:48:03 AM: - @netlify/plugin-gatsby@3.7.2
12:48:17 AM:
12:48:17 AM: ❯ Loading plugins
12:48:17 AM: - @netlify/plugin-gatsby@3.7.2 from Netlify app (latest 3.7.2, expected 3.7.2, compatible 3.7.2)
12:48:18 AM:
12:48:18 AM: @netlify/plugin-gatsby (onPreBuild event)
12:48:18 AM: ────────────────────────────────────────────────────────────────
12:48:18 AM:
12:48:18 AM: Step starting.
12:48:18 AM: Step started.
12:48:18 AM: Plugin logic started.
12:48:18 AM: No Gatsby cache found. Building fresh.
12:48:18 AM: Could not load gatsby-config.js: Cannot find module “dotenv”
12:48:18 AM: Require stack:
12:48:18 AM: - /opt/build/repo/frontend/gatsby-config.js
12:48:18 AM: - /opt/build/repo/frontend/.netlify/plugins/node_modules/@netlify/plugin-gatsby/lib/helpers/config.js
12:48:18 AM: - /opt/build/repo/frontend/.netlify/plugins/node_modules/@netlify/plugin-gatsby/lib/helpers/cache.js
12:48:18 AM: - /opt/build/repo/frontend/.netlify/plugins/node_modules/@netlify/plugin-gatsby/lib/index.js
12:48:18 AM: Unable to validate if “gatsby-plugin-netlify” is setup correctly.
12:48:18 AM: Plugin logic ended.
12:48:18 AM: Stop closing.
12:48:18 AM: Step ended.
12:48:18 AM: Step completed.
12:48:18 AM:
12:48:18 AM: (@netlify/plugin-gatsby onPreBuild completed in 9ms)
12:48:18 AM: Build step duration: @netlify/plugin-gatsby onPreBuild completed in 9ms
12:48:18 AM:
12:48:18 AM: Build command from Netlify app
12:48:18 AM: ────────────────────────────────────────────────────────────────
12:48:18 AM:
12:48:18 AM: $ npm install --force && CI= npm run build
12:48:18 AM: npm WARN using --force Recommended protections disabled.
12:48:18 AM: npm WARN old lockfile
12:48:18 AM: npm WARN old lockfile The package-lock.json file was created with an old version of npm,
12:48:18 AM: npm WARN old lockfile so supplemental metadata must be fetched from the registry.
12:48:18 AM: npm WARN old lockfile
12:48:18 AM: npm WARN old lockfile This is a one-time fix-up, please be patient…
12:48:18 AM: npm WARN old lockfile
12:48:28 AM: npm WARN ERESOLVE overriding peer dependency
12:48:28 AM: npm WARN ERESOLVE overriding peer dependency
12:48:28 AM: npm WARN While resolving: @material-ui/data-grid@4.0.0-alpha.37
12:48:28 AM: npm WARN Found: react@16.14.0
12:48:28 AM: npm WARN node_modules/react
12:48:28 AM: npm WARN peer react@“^17.0.2” from @material-ui/utils@5.0.0-beta.5
12:48:28 AM: npm WARN node_modules/@material-ui/data-grid/node_modules/@material-ui/utils
12:48:28 AM: npm WARN @material-ui/utils@“^5.0.0-alpha.14” from @material-ui/data-grid@4.0.0-alpha.37
12:48:28 AM: npm WARN node_modules/@material-ui/data-grid
12:48:28 AM: npm WARN
12:48:28 AM: npm WARN Could not resolve dependency:
12:48:28 AM: npm WARN peer react@“^17.0.0” from @material-ui/data-grid@4.0.0-alpha.37
12:48:28 AM: npm WARN node_modules/@material-ui/data-grid
12:48:28 AM: npm WARN @material-ui/data-grid@“^4.0.0-alpha.21” from the root project
12:48:28 AM: npm WARN
12:48:28 AM: npm WARN Conflicting peer dependency: react@17.0.2
12:48:28 AM: npm WARN node_modules/react
12:48:28 AM: npm WARN peer react@“^17.0.0” from @material-ui/data-grid@4.0.0-alpha.37
12:48:28 AM: npm WARN node_modules/@material-ui/data-grid
12:48:28 AM: npm WARN @material-ui/data-grid@“^4.0.0-alpha.21” from the root project
12:48:36 AM: npm WARN ERESOLVE overriding peer dependency
12:48:36 AM: npm WARN ERESOLVE overriding peer dependency
12:48:36 AM: npm WARN While resolving: gatsby-plugin-image@1.15.0
12:48:36 AM: npm WARN Found: gatsby@2.32.13
12:48:36 AM: npm WARN node_modules/gatsby
12:48:36 AM: npm WARN peer gatsby@“^3.0.0-next.0” from babel-plugin-remove-graphql-queries@3.15.0
12:48:36 AM: npm WARN node_modules/gatsby-plugin-image/node_modules/babel-plugin-remove-graphql-queries
12:48:36 AM: npm WARN babel-plugin-remove-graphql-queries@“^3.15.0” from gatsby-plugin-image@1.15.0
12:48:36 AM: npm WARN node_modules/gatsby-plugin-image
12:48:36 AM: npm WARN
12:48:36 AM: npm WARN Could not resolve dependency:
12:48:36 AM: npm WARN peer gatsby@“^3.0.0-next.0” from gatsby-plugin-image@1.15.0
12:48:36 AM: npm WARN node_modules/gatsby-plugin-image
12:48:36 AM: npm WARN gatsby-plugin-image@“^1.10.1” from the root project
12:48:36 AM: npm WARN
12:48:36 AM: npm WARN Conflicting peer dependency: gatsby@3.15.0
12:48:36 AM: npm WARN node_modules/gatsby
12:48:36 AM: npm WARN peer gatsby@“^3.0.0-next.0” from gatsby-plugin-image@1.15.0
12:48:36 AM: npm WARN node_modules/gatsby-plugin-image
12:48:36 AM: npm WARN gatsby-plugin-image@“^1.10.1” from the root project
12:48:36 AM: npm WARN ERESOLVE overriding peer dependency
12:48:36 AM: npm WARN While resolving: gatsby-plugin-image@1.15.0
12:48:36 AM: npm WARN Found: gatsby-plugin-sharp@2.14.4
12:48:36 AM: npm WARN node_modules/gatsby-plugin-sharp
12:48:36 AM: npm WARN gatsby-plugin-sharp@“^2.6.36” from the root project
12:48:36 AM: npm WARN 1 more (gatsby-transformer-sharp)
12:48:36 AM: npm WARN
12:48:36 AM: npm WARN Could not resolve dependency:
12:48:36 AM: npm WARN peer gatsby-plugin-sharp@“^3.0.0-next.0” from gatsby-plugin-image@1.15.0
12:48:36 AM: npm WARN node_modules/gatsby-plugin-image
12:48:36 AM: npm WARN gatsby-plugin-image@“^1.10.1” from the root project
12:48:36 AM: npm WARN
12:48:36 AM: npm WARN Conflicting peer dependency: gatsby-plugin-sharp@3.15.0
12:48:36 AM: npm WARN node_modules/gatsby-plugin-sharp
12:48:36 AM: npm WARN peer gatsby-plugin-sharp@“^3.0.0-next.0” from gatsby-plugin-image@1.15.0
12:48:36 AM: npm WARN node_modules/gatsby-plugin-image
12:48:36 AM: npm WARN gatsby-plugin-image@“^1.10.1” from the root project
12:48:36 AM: npm WARN ERESOLVE overriding peer dependency
12:48:36 AM: npm WARN While resolving: gatsby-plugin-image@1.15.0
12:48:36 AM: npm WARN Found: gatsby-source-filesystem@2.11.1
12:48:36 AM: npm WARN node_modules/gatsby-source-filesystem
12:48:36 AM: npm WARN gatsby-source-filesystem@“^2.3.30” from the root project
12:48:36 AM: npm WARN
12:48:36 AM: npm WARN Could not resolve dependency:
12:48:36 AM: npm WARN peer gatsby-source-filesystem@“^3.0.0-next.0” from gatsby-plugin-image@1.15.0
12:48:36 AM: npm WARN node_modules/gatsby-plugin-image
12:48:36 AM: npm WARN gatsby-plugin-image@“^1.10.1” from the root project
12:48:36 AM: npm WARN
12:48:36 AM: npm WARN Conflicting peer dependency: gatsby-source-filesystem@3.15.0
12:48:36 AM: npm WARN node_modules/gatsby-source-filesystem
12:48:36 AM: npm WARN peer gatsby-source-filesystem@“^3.0.0-next.0” from gatsby-plugin-image@1.15.0
12:48:36 AM: npm WARN node_modules/gatsby-plugin-image
12:48:36 AM: npm WARN gatsby-plugin-image@“^1.10.1” from the root project
12:49:01 AM: npm WARN EBADENGINE Unsupported engine {
12:49:01 AM: npm WARN EBADENGINE package: “react-lottie@1.2.3”,
12:49:01 AM: npm WARN EBADENGINE required: { npm: “^3.0.0” },
12:49:01 AM: npm WARN EBADENGINE current: { node: “v18.17.0”, npm: “10.2.0” }
12:49:01 AM: npm WARN EBADENGINE }
12:49:07 AM: npm WARN deprecated multer@1.4.4: Multer 1.x is affected by CVE-2022-24434. This is fixed in v1.4.4-lts.1 which drops support for versions of Node.js before 6. Please upgrade to at least Node.js 6 and version 1.4.4-lts.1 of Multer. If you need support for older versions of Node.js, we are open to accepting patches that would fix the CVE on the main 1.x release line, whilst maintaining compatibility with Node.js 0.10.
12:49:07 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
12:49:08 AM: npm WARN deprecated urix@0.1.0: Please see GitHub - lydell/urix: [DEPRECATED] Makes Windows-style paths more unix and URI friendly.
12:49:08 AM: npm WARN deprecated resolve-url@0.2.1: GitHub - lydell/resolve-url: [DEPRECATED] Like Node.js’ `path.resolve`/`url.resolve` for the browser.
12:49:08 AM: npm WARN deprecated source-map-url@0.4.1: See GitHub - lydell/source-map-url: [DEPRECATED] Tools for working with sourceMappingURL comments.
12:49:08 AM: npm WARN deprecated source-map-resolve@0.5.3: See GitHub - lydell/source-map-resolve: [DEPRECATED] Resolve the source map and/or sources for a generated file.
12:49:11 AM: npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See There’s Math.random(), and then there’s Math.random() · V8 for details.
12:49:11 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: Array.prototype.sort() - JavaScript | MDN
12:49:11 AM: npm WARN deprecated async-cache@1.1.0: No longer maintained. Use lru-cache version 7.6 or higher, and provide an asynchronous fetchMethod
option.
12:49:11 AM: npm WARN deprecated trim@0.0.1: Use String.prototype.trim() instead
12:49:11 AM: npm WARN deprecated @babel/plugin-proposal-object-rest-spread@7.10.4: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
12:49:13 AM: npm WARN deprecated querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
12:49:13 AM: npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See There’s Math.random(), and then there’s Math.random() · V8 for details.
12:49:14 AM: npm WARN deprecated @babel/plugin-proposal-numeric-separator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.
12:49:15 AM: npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See There’s Math.random(), and then there’s Math.random() · V8 for details.
12:49:15 AM: npm WARN deprecated subscriptions-transport-ws@0.9.19: The subscriptions-transport-ws
package is no longer maintained. We recommend you use graphql-ws
instead. For help migrating Apollo software to graphql-ws
, see Subscriptions in Apollo Server - Apollo GraphQL Docs For general help using graphql-ws
, see https://github.com/enisdenjo/graphql-ws/blob/master/README.md
12:49:16 AM: npm WARN deprecated @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
12:49:16 AM: npm WARN deprecated @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
12:49:16 AM: npm WARN deprecated @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
12:49:16 AM: npm WARN deprecated @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
12:49:16 AM: npm WARN deprecated @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
12:49:16 AM: npm WARN deprecated @hapi/address@2.1.4: Moved to “npm install @sideway/address”
12:49:16 AM: npm WARN deprecated string-similarity@1.2.2: Package no longer supported. Contact Support at npm | Support for more info.
12:49:16 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
12:49:16 AM: npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
12:49:16 AM: npm WARN deprecated @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
12:49:17 AM: npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See There’s Math.random(), and then there’s Math.random() · V8 for details.
12:49:17 AM: npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See There’s Math.random(), and then there’s Math.random() · V8 for details.
12:49:17 AM: npm WARN deprecated babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
12:49:18 AM: npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See There’s Math.random(), and then there’s Math.random() · V8 for details.
12:49:18 AM: npm WARN deprecated @hapi/joi@15.1.1: Switch to “npm install joi”
12:49:18 AM: npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See There’s Math.random(), and then there’s Math.random() · V8 for details.
12:49:18 AM: npm WARN deprecated gatsby-image@2.11.0: gatsby-image is now gatsby-plugin-image: gatsby-plugin-image - npm. This package will no longer receive updates.
12:49:18 AM: npm WARN deprecated express-graphql@0.9.0: This package is no longer maintained. We recommend using graphql-http
instead. Please consult the migration document GitHub - graphql/graphql-http: Simple, pluggable, zero-dependency, GraphQL over HTTP spec compliant server, client and audit suite..
12:49:18 AM: npm WARN deprecated eslint-loader@2.2.1: This loader has been deprecated. Please use eslint-webpack-plugin
12:49:19 AM: npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See There’s Math.random(), and then there’s Math.random() · V8 for details.
12:49:19 AM: npm WARN deprecated express-graphql0.12.0: This package is no longer maintained. We recommend using graphql-http
instead. Please consult the migration document GitHub - graphql/graphql-http: Simple, pluggable, zero-dependency, GraphQL over HTTP spec compliant server, client and audit suite..
12:49:19 AM: npm WARN deprecated material-ui/data-grid4.0.0-alpha.37: The name of the package has changed, more details in Release v4.0.0 · mui/mui-x · GitHub
12:49:22 AM: npm WARN deprecated material-ui/styles4.11.5: Material UI v4 doesn"t receive active development since September 2021. See the guide Migrating to v5: getting started - Material UI to upgrade to v5.
npm WARN deprecated gatsby-recipes0.9.3: 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.
12:49:27 AM: npm WARN deprecated material-ui/lab@4.0.0-alpha.61: Material UI v4 doesn"t receive active development since September 2021. See the guide Migrating to v5: getting started - Material UI to upgrade to v5.
npm WARN deprecated core-js2.6.12: core-js<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
12:49:42 AM: npm WARN deprecated @material-ui/core@4.12.4: Material UI v4 doesn"t receive active development since September 2021. See the guide Migrating to v5: getting started - Material UI to upgrade to v5.
12:49:42 AM: added 2921 packages, and audited 3187 packages in 1m
12:49:42 AM: 379 packages are looking for funding
12:49:42 AM: run npm fund
for details
12:49:42 AM: 134 vulnerabilities (1 low, 84 moderate, 42 high, 7 critical)
12:49:42 AM: To address issues that do not require attention, run:
12:49:42 AM: npm audit fix
12:49:42 AM: To address all issues (including breaking changes), run:
12:49:42 AM: npm audit fix --force
12:49:42 AM: Run npm audit
for details.
12:49:42 AM: npm WARN cli npm v10.2.0 does not support Node.js v16.20.2. This version of npm supports the following node versions: ^18.17.0 || >=20.5.0
. You can find the latest version at https://nodejs.org/.
12:49:42 AM: > gatsby-starter-default0.1.0 build
12:49:42 AM: > gatsby build
12:49:44 AM: success open and validate gatsby-configs - 0.045s
12:49:45 AM: success load plugins - 0.540s
12:49:45 AM: success onPreInit - 0.036s
12:49:45 AM: success delete html and css files from previous builds - 0.010s
12:49:45 AM: success initialize cache - 0.005s
12:49:45 AM: success copy gatsby files - 0.022s
12:49:45 AM: success onPreBootstrap - 0.009s
12:49:45 AM: success createSchemaCustomization - 0.003s
12:49:45 AM: info Starting to fetch data from Strapi - https://strapi.dealsfavorite.com/products with params {“_limit”:1000}
12:49:45 AM: info Starting to fetch data from Strapi - https://strapi.dealsfavorite.com/categories with params {“_limit”:1000}
12:49:45 AM: info Starting to fetch data from Strapi - https://strapi.dealsfavorite.com/variants with params {“_limit”:1000}
12:49:46 AM: success Fetched Strapi Data - 0.514s
12:49:46 AM: success Checking for changed pages - 0.000s
12:49:46 AM: success source and transform nodes - 0.676s
12:49:46 AM: success building schema - 0.368s
12:49:46 AM: info Total nodes: 186, SitePage nodes: 15 (use --verbose for breakdown)
12:49:46 AM: success createPages - 0.025s
12:49:46 AM: success Checking for changed pages - 0.000s
12:49:46 AM: success createPagesStatefully - 0.055s
12:49:46 AM: success update schema - 0.024s
12:49:46 AM: success onPreExtractQueries - 0.000s
12:49:47 AM: success extract queries from components - 0.773s
12:49:47 AM: success write out redirect data - 0.004s
12:49:47 AM: success Build manifest and related icons - 0.094s
12:49:47 AM: success onPostBootstrap - 0.095s
12:49:47 AM: info bootstrap finished - 4.701s
12:49:47 AM: success run static queries - 0.013s - 4/4 317.09/s
12:49:47 AM: success run page queries - 0.014s - 25/25 1732.92/s
12:49:47 AM: success write out requires - 0.002s
12:49:47 AM: failed Building production JavaScript and CSS bundles - 0.087s
12:49:47 AM: error Generating JavaScript bundles failed
12:49:47 AM: Cannot read properties of undefined (reading “includes”)
12:49:48 AM:
12:49:48 AM: “build.command” failed
12:49:48 AM: ────────────────────────────────────────────────────────────────
12:49:48 AM:
12:49:48 AM: Error message
12:49:48 AM: Command failed with exit code 1: npm install --force && CI= npm run build (Search results for '"non-zero exit code: 1"' - Netlify Support Forums)
12:49:48 AM:
12:49:48 AM: Error location
12:49:48 AM: In Build command from Netlify app:
12:49:48 AM: npm install --force && CI= npm run build
12:49:48 AM:
12:49:48 AM: Resolved config
12:49:48 AM: build:
12:49:48 AM: base: /opt/build/repo/frontend
12:49:48 AM: command: npm install --force && CI= npm run build
12:49:48 AM: commandOrigin: ui
12:49:48 AM: environment:
12:49:48 AM: - CI
12:49:48 AM: - GATSBY_STRAPI_URL
12:49:48 AM: - NETLIFY_BUILD_DEBUG
12:49:48 AM: - NODE_VERSION
12:49:48 AM: - NPM_FLAGS
12:49:48 AM: - NPM_VERSION
12:49:48 AM: publish: /opt/build/repo/frontend/public
12:49:48 AM: publishOrigin: ui
12:49:48 AM: plugins:
12:49:48 AM: - inputs: {}
12:49:48 AM: origin: ui
12:49:48 AM: package: “netlify/plugin-gatsby”
12:49:50 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
12:49:50 AM: Failing build: Failed to build site
12:49:51 AM: Finished processing build request in 2m3.983s
12:49:50 AM: Failed during stage “building site”: Build script returned non-zero exit code: 2