Hello, I am trying to deploy my website, but it now all of a sudden is not working. It had been previously working and I even tried redeploying an older branch from git, but I am still running into an error. I am attaching the log below.
5:28:27 PM: Build ready to start
5:28:29 PM: build-image version: 3bcb38c35508b42e9121d4badfe6d8c66fd7a3f0
5:28:29 PM: build-image tag: v4.3.2
5:28:29 PM: buildbot version: d82977f5ab056e59cd416c94ab05ba0d449dc63a
5:28:29 PM: Fetching cached dependencies
5:28:29 PM: Starting to download cache of 211.9MB
5:28:30 PM: Finished downloading cache in 1.33717041s
5:28:30 PM: Starting to extract cache
5:28:38 PM: Finished extracting cache in 7.906844094s
5:28:38 PM: Finished fetching cache in 9.339507673s
5:28:38 PM: Starting to prepare the repo for build
5:28:39 PM: Preparing Git Reference refs/heads/master
5:28:40 PM: Parsing package.json dependencies
5:28:41 PM: Starting build script
5:28:41 PM: Installing dependencies
5:28:41 PM: Python version set to 2.7
5:28:41 PM: Started restoring cached node version
5:28:44 PM: Finished restoring cached node version
5:28:44 PM: Downloading and installing node v16.11.1...
5:28:44 PM: Downloading https://nodejs.org/dist/v16.11.1/node-v16.11.1-linux-x64.tar.xz...
5:28:45 PM: Computing checksum with sha256sum
5:28:45 PM: Checksums matched!
5:28:48 PM: Now using node v16.11.1 (npm v8.0.0)
5:28:48 PM: Started restoring cached build plugins
5:28:48 PM: Finished restoring cached build plugins
5:28:48 PM: Attempting ruby version 2.7.2, read from environment
5:28:49 PM: Using ruby version 2.7.2
5:28:50 PM: Using PHP version 8.0
5:28:50 PM: Started restoring cached node modules
5:28:50 PM: Finished restoring cached node modules
5:28:50 PM: Installing NPM modules using NPM version 8.0.0
5:28:52 PM: npm WARN old lockfile
5:28:52 PM: npm WARN old lockfile The package-lock.json file was created with an old version of npm,
5:28:52 PM: npm WARN old lockfile so supplemental metadata must be fetched from the registry.
5:28:52 PM: npm WARN old lockfile
5:28:52 PM: npm WARN old lockfile This is a one-time fix-up, please be patient...
5:28:52 PM: npm WARN old lockfile
5:29:06 PM: npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
5:29:21 PM: added 93 packages, removed 142 packages, changed 121 packages, and audited 1024 packages in 30s
5:29:21 PM: 200 packages are looking for funding
5:29:21 PM: run `npm fund` for details
5:29:21 PM: 20 vulnerabilities (5 moderate, 15 high)
5:29:21 PM: To address issues that do not require attention, run:
5:29:21 PM: npm audit fix
5:29:21 PM: To address all issues (including breaking changes), run:
5:29:21 PM: npm audit fix --force
5:29:21 PM: Run `npm audit` for details.
5:29:21 PM: NPM modules installed
5:29:21 PM: Started restoring cached go cache
5:29:21 PM: Finished restoring cached go cache
5:29:21 PM: go version go1.16.5 linux/amd64
5:29:21 PM: go version go1.16.5 linux/amd64
5:29:21 PM: Installing missing commands
5:29:21 PM: Verify run directory
5:29:23 PM: β
5:29:23 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
5:29:23 PM: Netlify Build
5:29:23 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
5:29:23 PM: β
5:29:23 PM: β― Version
5:29:23 PM: @netlify/build 18.17.5
5:29:23 PM: β
5:29:23 PM: β― Flags
5:29:23 PM: baseRelDir: true
5:29:23 PM: buildId: 616df50bfce7900008e56fa4
5:29:23 PM: deployId: 616df50bfce7900008e56fa6
5:29:23 PM: β
5:29:23 PM: β― Current directory
5:29:23 PM: /opt/build/repo
5:29:23 PM: β
5:29:23 PM: β― Config file
5:29:23 PM: /opt/build/repo/netlify.toml
5:29:23 PM: β
5:29:23 PM: β― Context
5:29:23 PM: production
5:29:23 PM: β
5:29:23 PM: β― Installing plugins
5:29:23 PM: - @netlify/plugin-nextjs@3.9.2
5:29:24 PM: β
5:29:24 PM: β― Loading plugins
5:29:24 PM: - @netlify/plugin-nextjs@3.9.2 from Netlify app
5:29:25 PM: β
5:29:25 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
5:29:25 PM: 1. @netlify/plugin-nextjs (onPreBuild event)
5:29:25 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
5:29:25 PM: β
5:29:25 PM: Using Next.js 11.1.2
5:29:25 PM: Warning: support for Next.js >=11.1.0 is experimental
5:29:25 PM: NOTE: Static HTML export Next.js projects (projects that use `next export`) do not require most of this plugin. For these sites, this plugin *only* caches builds.
5:29:25 PM: β
5:29:25 PM: (@netlify/plugin-nextjs onPreBuild completed in 18ms)
5:29:25 PM: β
5:29:25 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
5:29:25 PM: 2. build.command from netlify.toml
5:29:25 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
5:29:25 PM: β
5:29:25 PM: $ npm run build && npm run export
5:29:25 PM: > alloy-marketing@0.1.0 build
5:29:25 PM: > next build
5:29:26 PM: info - Loaded env from /opt/build/repo/.env
5:29:26 PM: info - Using webpack 5. Reason: Enabled by default https://nextjs.org/docs/messages/webpack5
5:29:26 PM: warn - No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
5:29:26 PM: info - Checking validity of types...
5:29:31 PM: ./pages/about-us.js
5:29:31 PM: 48:15 Warning: Do not use <img>. Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
5:29:31 PM: 63:15 Warning: Do not use <img>. Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
5:29:31 PM: 81:21 Warning: Do not use <img>. Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
5:29:31 PM: 81:21 Warning: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text
5:29:31 PM: 109:15 Warning: Do not use <img>. Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
5:29:31 PM: ./pages/author/[slug].js
5:29:31 PM: 57:17 Warning: Do not use <img>. Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
5:29:31 PM: ./pages/blog/[slug].js
5:29:31 PM: 47:43 Warning: Do not use <img>. Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
5:29:31 PM: 63:11 Warning: Do not use <img>. Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
5:29:31 PM: 110:17 Warning: Do not use <img>. Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
5:29:31 PM: 126:17 Warning: Do not use <img>. Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
5:29:31 PM: ./pages/blog.js
5:29:31 PM: 50:27 Warning: Do not use <img>. Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
5:29:31 PM: 50:27 Warning: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text
5:29:31 PM: ./pages/expert/[slug].js
5:29:31 PM: 57:17 Warning: Do not use <img>. Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
5:29:31 PM: ./pages/how-it-works.js
5:29:31 PM: 59:19 Warning: Do not use <img>. Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
5:29:31 PM: 59:19 Warning: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text
5:29:31 PM: ./pages/our-promise.js
5:29:31 PM: 32:15 Warning: Do not use <img>. Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
5:29:31 PM: 69:15 Warning: Do not use <img>. Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
5:29:31 PM: 80:15 Warning: Do not use <img>. Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
5:29:31 PM: ./pages/symptoms/[slug].js
5:29:31 PM: 60:17 Warning: Do not use <img>. Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
5:29:31 PM: 60:17 Warning: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text
5:29:31 PM: 95:19 Warning: Do not use <img>. Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
5:29:31 PM: 95:19 Warning: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text
5:29:31 PM: ./pages/symptoms.js
5:29:31 PM: 49:27 Warning: Do not use <img>. Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
5:29:31 PM: ./components/AboutList.js
5:29:31 PM: 12:19 Warning: Do not use <img>. Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
5:29:31 PM: ./components/BlogList.js
5:29:31 PM: 24:25 Warning: Do not use <img>. Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
5:29:31 PM: 24:25 Warning: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text
5:29:31 PM: ./components/Footer.js
5:29:31 PM: 14:142 Warning: Do not use <img>. Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
5:29:31 PM: ./components/NavBar.js
5:29:31 PM: 36:19 Warning: Do not use <img>. Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
5:29:31 PM: ./components/NavBarTitle.js
5:29:31 PM: 13:17 Warning: Do not use <img>. Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
5:29:31 PM: ./components/ProductList.js
5:29:31 PM: 17:21 Warning: Do not use <img>. Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
5:29:31 PM: ./components/SymptomList.js
5:29:31 PM: 22:25 Warning: Do not use <img>. Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
5:29:31 PM: 22:25 Warning: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text
5:29:31 PM: ./components/TestimonialList.js
5:29:31 PM: 18:23 Warning: Do not use <img>. Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
5:29:31 PM: ./components/Upgrade.js
5:29:31 PM: 33:13 Warning: Do not use <img>. Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
5:29:31 PM: 33:13 Warning: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text
5:29:31 PM: info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
5:29:31 PM: info - Creating an optimized production build...
5:29:31 PM: next-optimized-images β― WARNING!
5:29:31 PM: next-optimized-images β― No package found which can optimize images.
5:29:31 PM: next-optimized-images β― Starting from version 2 of next-optimized-images, all optimization is optional and you can choose which ones you want to use.
5:29:31 PM: next-optimized-images β― For help during the setup and installation, please read https://github.com/cyrilwanner/next-optimized-images#optimization-packages
5:29:31 PM: next-optimized-images β― If you recently updated from v1 to v2, please read https://github.com/cyrilwanner/next-optimized-images/blob/master/UPGRADING.md
5:29:31 PM: next-optimized-images β― If this is on purpose and you don't want this plugin to optimize the images, set the option `optimizeImages: false` to hide this warning.
5:29:41 PM: DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
5:29:41 PM: Recommendation: math.div(1, $rfs-rem-value)
5:29:41 PM: More info and automated migrator: https://sass-lang.com/d/slash-div
5:29:41 PM: β·
5:29:41 PM: 49 β $rfs-base-font-size: $rfs-base-font-size / ($rfs-base-font-size * 0 + 1 / $rfs-rem-value);
5:29:41 PM: β ^^^^^^^^^^^^^^^^^^
5:29:41 PM: β΅
5:29:41 PM: styles/scss/bootstrap/vendor/_rfs.scss 49:73 @import
5:29:41 PM: styles/scss/bootstrap/_mixins.scss 6:9 @import
5:29:41 PM: styles/scss/alloy.scss 3:9 root stylesheet
5:29:41 PM: DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
5:29:41 PM: Recommendation: math.div($rfs-base-font-size, $rfs-base-font-size * 0 + 1 / $rfs-rem-value)
5:29:41 PM: More info and automated migrator: https://sass-lang.com/d/slash-div
5:29:41 PM: β·
5:29:41 PM: 49 β $rfs-base-font-size: $rfs-base-font-size / ($rfs-base-font-size * 0 + 1 / $rfs-rem-value);
5:29:41 PM: β ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5:29:41 PM: β΅
5:29:41 PM: styles/scss/bootstrap/vendor/_rfs.scss 49:24 @import
5:29:41 PM: styles/scss/bootstrap/_mixins.scss 6:9 @import
5:29:41 PM: styles/scss/alloy.scss 3:9 root stylesheet
5:29:41 PM: DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
5:29:41 PM: Recommendation: math.div($rfs-breakpoint, $rfs-breakpoint * 0 + 1)
5:29:41 PM: More info and automated migrator: https://sass-lang.com/d/slash-div
5:29:41 PM: β·
5:29:41 PM: 57 β $rfs-breakpoint: $rfs-breakpoint / ($rfs-breakpoint * 0 + 1);
5:29:41 PM: β ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5:29:41 PM: β΅
5:29:41 PM: styles/scss/bootstrap/vendor/_rfs.scss 57:20 @import
5:29:41 PM: styles/scss/bootstrap/_mixins.scss 6:9 @import
5:29:41 PM: styles/scss/alloy.scss 3:9 root stylesheet
5:29:42 PM: DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
5:29:42 PM: Recommendation: math.div($spacer, 2)
5:29:42 PM: More info and automated migrator: https://sass-lang.com/d/slash-div
5:29:42 PM: β·
5:29:42 PM: 322 β $headings-margin-bottom: $spacer / 2;
5:29:42 PM: β ^^^^^^^^^^^
5:29:42 PM: β΅
5:29:42 PM: styles/scss/core/_variables.scss 322:31 @import
5:29:42 PM: styles/scss/alloy.scss 6:9 root stylesheet
5:29:42 PM: DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
5:29:42 PM: Recommendation: math.div($input-padding-y, 2)
5:29:42 PM: More info and automated migrator: https://sass-lang.com/d/slash-div
5:29:42 PM: β·
5:29:42 PM: 494 β $input-height-inner-quarter: calc(#{$input-line-height * .25em} + #{$input-padding-y / 2}) !default;
5:29:42 PM: β ^^^^^^^^^^^^^^^^^^^^
5:29:42 PM: β΅
5:29:42 PM: styles/scss/bootstrap/_variables.scss 494:80 @import
5:29:42 PM: styles/scss/bootstrap/bootstrap.scss 9:9 @import
5:29:42 PM: styles/scss/alloy.scss 8:9 root stylesheet
5:29:44 PM: WARNING: 66 repetitive deprecation warnings omitted.
5:30:10 PM: Failed to compile.
5:30:10 PM:
5:30:10 PM: HookWebpackError: Maximum call stack size exceeded
5:30:10 PM: > Build error occurred
5:30:10 PM: Error: > Build failed because of webpack errors
5:30:10 PM: at /opt/build/repo/node_modules/next/dist/build/index.js:397:19
5:30:10 PM: at async Span.traceAsyncFn (/opt/build/repo/node_modules/next/dist/telemetry/trace/trace.js:60:20)
5:30:10 PM: at async Object.build [as default] (/opt/build/repo/node_modules/next/dist/build/index.js:77:25)
5:30:12 PM: β
5:30:12 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
5:30:12 PM: "build.command" failed
5:30:12 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
5:30:12 PM: β
5:30:12 PM: Error message
5:30:12 PM: Command failed with exit code 1: npm run build && npm run export
5:30:12 PM: β
5:30:12 PM: Error location
5:30:12 PM: In build.command from netlify.toml:
5:30:12 PM: npm run build && npm run export
5:30:12 PM: β
5:30:12 PM: Resolved config
5:30:12 PM: build:
5:30:12 PM: command: npm run build && npm run export
5:30:12 PM: commandOrigin: config
5:30:12 PM: publish: /opt/build/repo/out
5:30:12 PM: publishOrigin: config
5:30:12 PM: plugins:
5:30:12 PM: - inputs: {}
5:30:12 PM: origin: ui
5:30:12 PM: package: '@netlify/plugin-nextjs'
5:30:12 PM: Caching artifacts
5:30:12 PM: Started saving node modules
5:30:12 PM: Finished saving node modules
5:30:12 PM: Started saving build plugins
5:30:12 PM: Finished saving build plugins
5:30:12 PM: Started saving pip cache
5:30:12 PM: Finished saving pip cache
5:30:12 PM: Started saving emacs cask dependencies
5:30:12 PM: Finished saving emacs cask dependencies
5:30:12 PM: Started saving maven dependencies
5:30:13 PM: Finished saving maven dependencies
5:30:13 PM: Started saving boot dependencies
5:30:13 PM: Finished saving boot dependencies
5:30:13 PM: Started saving rust rustup cache
5:30:13 PM: Finished saving rust rustup cache
5:30:13 PM: Started saving go dependencies
5:30:13 PM: Finished saving go dependencies