Setting Up Edge Functions Error!

My Website will deploy but shows up blank at my development URL. I’ve been trying to debug this for 3 days now and still can’t figure out what’s wrong.

Netlify Site Name: https://bandingomodal.netlify.app/
Build Issue: Netlify App

Build Settings:
[build]
command = ‘CI=npm run build’
functions = ‘netlify/functions’
publish = ‘build’

[functions]
directory = “/netlify/functions/”

[[redirects]]
from = “/*”
to = “/”
status = 200

[[redirects]]
from = “/OnDemand”
to = “/OnDemand”
status = 200

Setting Up Edge Functions Environment Console Error:
⠸ Setting up the Edge Functions environment. This may take a couple of minutes.npm WARN config global --global, --local are deprecated. Use --location=global instead.
⠇ Setting up the Edge Functions environment. This may take a couple of minutes.

bandingo-bingo@0.16.0 start
react-scripts start

⠴ Setting up the Edge Functions environment. This may take a couple of minutes.(node:19756) [DEP0111] DeprecationWarning: Access to process.binding(‘http_parser’) is deprecated.
(Use node --trace-deprecation ... to show where the warning was created)
Something is already running on port 3000.
⠦ Setting up the Edge Functions environment. This may take a couple of minutes.◈ “npm run start” exited with code 0. Shutting down Netlify Dev server

This is the Error Log from the Netlify Deploy:

7:00:26 PM: Build ready to start
7:00:28 PM: build-image version: a49edbc55fc722f80f6b85963a5060f8d043a844 (focal)
7:00:28 PM: build-image tag: v4.8.1
7:00:28 PM: buildbot version: f89dd42aa70d76d1da992dc3fa004a4c745208bc
7:00:28 PM: Fetching cached dependencies
7:00:31 PM: Finished downloading cache in 2.979468827s
7:00:31 PM: Starting to extract cache
7:00:41 PM: Finished extracting cache in 10.298493893s
7:00:41 PM: Finished fetching cache in 13.314610405s
7:00:41 PM: Starting to prepare the repo for build
7:00:41 PM: Preparing Git Reference refs/heads/main
7:00:43 PM: Parsing package.json dependencies
7:00:44 PM: Different build command detected, going to use the one specified in the Netlify configuration file: 'CI=npm run build' versus 'npm run build' in the Netlify UI
7:00:44 PM: Starting build script
7:00:44 PM: Installing dependencies
7:00:44 PM: Python version set to 2.7
7:00:44 PM: Started restoring cached node version
7:00:45 PM: Finished restoring cached node version
7:00:46 PM: v16.15.1 is already installed.
7:00:46 PM: Now using node v16.15.1 (npm v8.11.0)
7:00:46 PM: Started restoring cached build plugins
7:00:46 PM: Finished restoring cached build plugins
7:00:47 PM: Attempting ruby version 2.7.2, read from environment
7:00:48 PM: Using ruby version 2.7.2
7:00:48 PM: Using PHP version 8.0
7:00:48 PM: No npm workspaces detected
7:00:48 PM: Started restoring cached node modules
7:00:48 PM: Finished restoring cached node modules
7:00:49 PM: Installing NPM modules using NPM version 8.11.0
7:00:49 PM: npm WARN config tmp This setting is no longer used.  npm stores temporary files in a special
7:00:49 PM: npm WARN config location in the cache, and they are managed by
7:00:49 PM: npm WARN config     [`cacache`](http://npm.im/cacache).
7:00:49 PM: npm WARN config tmp This setting is no longer used.  npm stores temporary files in a special
7:00:49 PM: npm WARN config location in the cache, and they are managed by
7:00:49 PM: npm WARN config     [`cacache`](http://npm.im/cacache).
7:00:56 PM: npm WARN ERESOLVE overriding peer dependency
7:00:56 PM: npm WARN While resolving: @react-spring/three@9.4.5
7:00:56 PM: npm WARN Found: react@16.8.6
7:00:56 PM: npm WARN node_modules/react-spring/node_modules/react
7:00:56 PM: npm WARN   peer react@"^16.8.0  || >=17.0.0 || >=18.0.0" from @react-spring/konva@9.4.5
7:00:56 PM: npm WARN   node_modules/react-spring/node_modules/@react-spring/konva
7:00:56 PM: npm WARN     @react-spring/konva@"~9.4.5" from react-spring@9.4.5
7:00:56 PM: npm WARN     node_modules/react-spring
7:00:56 PM: npm WARN   4 more (@react-spring/native, react-dom, react-konva, react-reconciler)
7:00:56 PM: npm WARN
7:00:56 PM: npm WARN Could not resolve dependency:
7:00:56 PM: npm WARN peer react@"^16.11.0  || >=17.0.0 || >=18.0.0" from @react-spring/three@9.4.5
7:00:56 PM: npm WARN node_modules/react-spring/node_modules/@react-spring/three
7:00:56 PM: npm WARN   @react-spring/three@"~9.4.5" from react-spring@9.4.5
7:00:56 PM: npm WARN   node_modules/react-spring
7:00:56 PM: npm WARN
7:00:56 PM: npm WARN Conflicting peer dependency: react@18.2.0
7:00:56 PM: npm WARN node_modules/react
7:00:56 PM: npm WARN   peer react@"^16.11.0  || >=17.0.0 || >=18.0.0" from @react-spring/three@9.4.5
7:00:56 PM: npm WARN   node_modules/react-spring/node_modules/@react-spring/three
7:00:56 PM: npm WARN     @react-spring/three@"~9.4.5" from react-spring@9.4.5
7:00:56 PM: npm WARN     node_modules/react-spring
7:00:56 PM: npm WARN ERESOLVE overriding peer dependency
7:00:56 PM: npm WARN While resolving: @react-three/fiber@8.0.26
7:00:56 PM: npm WARN Found: react@16.8.6
7:00:56 PM: npm WARN node_modules/react-spring/node_modules/react
7:00:56 PM: npm WARN   peer react@"^16.8.0  || >=17.0.0 || >=18.0.0" from @react-spring/konva@9.4.5
7:00:56 PM: npm WARN   node_modules/react-spring/node_modules/@react-spring/konva
7:00:56 PM: npm WARN     @react-spring/konva@"~9.4.5" from react-spring@9.4.5
7:00:56 PM: npm WARN     node_modules/react-spring
7:00:56 PM: npm WARN   4 more (@react-spring/native, react-dom, react-konva, react-reconciler)
7:00:56 PM: npm WARN
7:00:56 PM: npm WARN Could not resolve dependency:
7:00:56 PM: npm WARN peer react@">=18.0" from @react-three/fiber@8.0.26
7:00:56 PM: npm WARN node_modules/react-spring/node_modules/@react-three/fiber
7:00:56 PM: npm WARN   peer @react-three/fiber@">=6.0" from @react-spring/three@9.4.5
7:00:56 PM: npm WARN   node_modules/react-spring/node_modules/@react-spring/three
7:00:56 PM: npm WARN
7:00:56 PM: npm WARN Conflicting peer dependency: react@18.2.0
7:00:56 PM: npm WARN node_modules/react
7:00:56 PM: npm WARN   peer react@">=18.0" from @react-three/fiber@8.0.26
7:00:56 PM: npm WARN   node_modules/react-spring/node_modules/@react-three/fiber
7:00:56 PM: npm WARN     peer @react-three/fiber@">=6.0" from @react-spring/three@9.4.5
7:00:56 PM: npm WARN     node_modules/react-spring/node_modules/@react-spring/three
7:00:56 PM: npm WARN ERESOLVE overriding peer dependency
7:00:56 PM: npm WARN While resolving: @react-three/fiber@8.0.26
7:00:56 PM: npm WARN Found: react-dom@16.8.6
7:00:56 PM: npm WARN node_modules/react-spring/node_modules/react-dom
7:00:56 PM: npm WARN   peer react-dom@"16.8.x" from react-konva@16.8.6
7:00:56 PM: npm WARN   node_modules/react-spring/node_modules/react-konva
7:00:56 PM: npm WARN     peer react-konva@"^16.8.0  || ^17.0.0" from @react-spring/konva@9.4.5
7:00:56 PM: npm WARN     node_modules/react-spring/node_modules/@react-spring/konva
7:00:56 PM: npm WARN
7:00:56 PM: npm WARN Could not resolve dependency:
7:00:56 PM: npm WARN peerOptional react-dom@">=18.0" from @react-three/fiber@8.0.26
7:00:56 PM: npm WARN node_modules/react-spring/node_modules/@react-three/fiber
7:00:56 PM: npm WARN   peer @react-three/fiber@">=6.0" from @react-spring/three@9.4.5
7:00:56 PM: npm WARN   node_modules/react-spring/node_modules/@react-spring/three
7:00:56 PM: npm WARN
7:00:56 PM: npm WARN Conflicting peer dependency: react-dom@18.2.0
7:00:56 PM: npm WARN node_modules/react-dom
7:00:56 PM: npm WARN   peerOptional react-dom@">=18.0" from @react-three/fiber@8.0.26
7:00:56 PM: npm WARN   node_modules/react-spring/node_modules/@react-three/fiber
7:00:56 PM: npm WARN     peer @react-three/fiber@">=6.0" from @react-spring/three@9.4.5
7:00:56 PM: npm WARN     node_modules/react-spring/node_modules/@react-spring/three
7:00:56 PM: npm WARN ERESOLVE overriding peer dependency
7:00:56 PM: npm WARN While resolving: react-native@0.68.2
7:00:56 PM: npm WARN Found: react@16.8.6
7:00:56 PM: npm WARN node_modules/react-spring/node_modules/react
7:00:56 PM: npm WARN   peer react@"^16.8.0  || >=17.0.0 || >=18.0.0" from @react-spring/konva@9.4.5
7:00:56 PM: npm WARN   node_modules/react-spring/node_modules/@react-spring/konva
7:00:56 PM: npm WARN     @react-spring/konva@"~9.4.5" from react-spring@9.4.5
7:00:56 PM: npm WARN     node_modules/react-spring
7:00:56 PM: npm WARN   4 more (@react-spring/native, react-dom, react-konva, react-reconciler)
7:00:56 PM: npm WARN
7:00:56 PM: npm WARN Could not resolve dependency:
7:00:56 PM: npm WARN peer react@"17.0.2" from react-native@0.68.2
7:00:56 PM: npm WARN node_modules/react-spring/node_modules/react-native
7:00:56 PM: npm WARN   peer react-native@">=0.58" from @react-spring/native@9.4.5
7:00:56 PM: npm WARN   node_modules/react-spring/node_modules/@react-spring/native
7:00:56 PM: npm WARN   2 more (@react-three/fiber, @react-native-community/cli)
7:00:56 PM: npm WARN
7:00:56 PM: npm WARN Conflicting peer dependency: react@17.0.2
7:00:56 PM: npm WARN node_modules/react
7:00:56 PM: npm WARN   peer react@"17.0.2" from react-native@0.68.2
7:00:56 PM: npm WARN   node_modules/react-spring/node_modules/react-native
7:00:56 PM: npm WARN     peer react-native@">=0.58" from @react-spring/native@9.4.5
7:00:56 PM: npm WARN     node_modules/react-spring/node_modules/@react-spring/native
7:00:56 PM: npm WARN     2 more (@react-three/fiber, @react-native-community/cli)
7:00:56 PM: npm WARN ERESOLVE overriding peer dependency
7:00:56 PM: npm WARN While resolving: react-reconciler@0.20.4
7:00:56 PM: npm WARN Found: react@17.0.2
7:00:56 PM: npm WARN node_modules/react
7:00:56 PM: npm WARN   react@"17.0.2" from the root project
7:00:56 PM: npm WARN   73 more (@ant-design/icons, @ant-design/react-slick, ...)
7:00:56 PM: npm WARN
7:00:56 PM: npm WARN Could not resolve dependency:
7:00:56 PM: npm WARN peer react@"^16.0.0" from react-reconciler@0.20.4
7:00:56 PM: npm WARN node_modules/react-zdog/node_modules/react-reconciler
7:00:56 PM: npm WARN   react-reconciler@"^0.20.4" from react-zdog@1.0.11
7:00:56 PM: npm WARN   node_modules/react-zdog
7:00:56 PM: npm WARN
7:00:56 PM: npm WARN Conflicting peer dependency: react@16.14.0
7:00:56 PM: npm WARN node_modules/react
7:00:56 PM: npm WARN   peer react@"^16.0.0" from react-reconciler@0.20.4
7:00:56 PM: npm WARN   node_modules/react-zdog/node_modules/react-reconciler
7:00:56 PM: npm WARN     react-reconciler@"^0.20.4" from react-zdog@1.0.11
7:00:56 PM: npm WARN     node_modules/react-zdog
7:00:56 PM: npm WARN ERESOLVE overriding peer dependency
7:00:56 PM: npm WARN While resolving: react-reconciler@0.27.0
7:00:56 PM: npm WARN Found: react@16.8.6
7:00:56 PM: npm WARN node_modules/react-spring/node_modules/react
7:00:56 PM: npm WARN   peer react@"^16.8.0  || >=17.0.0 || >=18.0.0" from @react-spring/konva@9.4.5
7:00:56 PM: npm WARN   node_modules/react-spring/node_modules/@react-spring/konva
7:00:56 PM: npm WARN     @react-spring/konva@"~9.4.5" from react-spring@9.4.5
7:00:56 PM: npm WARN     node_modules/react-spring
7:00:56 PM: npm WARN   4 more (@react-spring/native, react-dom, react-konva, react-reconciler)
7:00:56 PM: npm WARN
7:00:56 PM: npm WARN Could not resolve dependency:
7:00:56 PM: npm WARN peer react@"^18.0.0" from react-reconciler@0.27.0
7:00:56 PM: npm WARN node_modules/react-spring/node_modules/@react-three/fiber/node_modules/react-reconciler
7:00:56 PM: npm WARN   react-reconciler@"^0.27.0" from @react-three/fiber@8.0.26
7:00:56 PM: npm WARN   node_modules/react-spring/node_modules/@react-three/fiber
7:00:56 PM: npm WARN
7:00:56 PM: npm WARN Conflicting peer dependency: react@18.2.0
7:00:56 PM: npm WARN node_modules/react
7:00:56 PM: npm WARN   peer react@"^18.0.0" from react-reconciler@0.27.0
7:00:56 PM: npm WARN   node_modules/react-spring/node_modules/@react-three/fiber/node_modules/react-reconciler
7:00:56 PM: npm WARN     react-reconciler@"^0.27.0" from @react-three/fiber@8.0.26
7:00:56 PM: npm WARN     node_modules/react-spring/node_modules/@react-three/fiber
7:00:56 PM: npm WARN ERESOLVE overriding peer dependency
7:00:56 PM: npm WARN While resolving: react-use-measure@2.1.1
7:00:56 PM: npm WARN Found: react@16.8.6
7:00:56 PM: npm WARN node_modules/react-spring/node_modules/react
7:00:56 PM: npm WARN   peer react@"^16.8.0  || >=17.0.0 || >=18.0.0" from @react-spring/konva@9.4.5
7:00:56 PM: npm WARN   node_modules/react-spring/node_modules/@react-spring/konva
7:00:56 PM: npm WARN     @react-spring/konva@"~9.4.5" from react-spring@9.4.5
7:00:56 PM: npm WARN     node_modules/react-spring
7:00:56 PM: npm WARN   4 more (@react-spring/native, react-dom, react-konva, react-reconciler)
7:00:56 PM: npm WARN
7:00:56 PM: npm WARN Could not resolve dependency:
7:00:56 PM: npm WARN peer react@">=16.13" from react-use-measure@2.1.1
7:00:56 PM: npm WARN node_modules/react-spring/node_modules/@react-three/fiber/node_modules/react-use-measure
7:00:56 PM: npm WARN   react-use-measure@"^2.1.1" from @react-three/fiber@8.0.26
7:00:56 PM: npm WARN   node_modules/react-spring/node_modules/@react-three/fiber
7:00:56 PM: npm WARN
7:00:56 PM: npm WARN Conflicting peer dependency: react@18.2.0
7:00:56 PM: npm WARN node_modules/react
7:00:56 PM: npm WARN   peer react@">=16.13" from react-use-measure@2.1.1
7:00:56 PM: npm WARN   node_modules/react-spring/node_modules/@react-three/fiber/node_modules/react-use-measure
7:00:56 PM: npm WARN     react-use-measure@"^2.1.1" from @react-three/fiber@8.0.26
7:00:56 PM: npm WARN     node_modules/react-spring/node_modules/@react-three/fiber
7:00:56 PM: npm WARN ERESOLVE overriding peer dependency
7:00:56 PM: npm WARN While resolving: react-use-measure@2.1.1
7:00:56 PM: npm WARN Found: react-dom@16.8.6
7:00:56 PM: npm WARN node_modules/react-spring/node_modules/react-dom
7:00:56 PM: npm WARN   peer react-dom@"16.8.x" from react-konva@16.8.6
7:00:56 PM: npm WARN   node_modules/react-spring/node_modules/react-konva
7:00:56 PM: npm WARN     peer react-konva@"^16.8.0  || ^17.0.0" from @react-spring/konva@9.4.5
7:00:56 PM: npm WARN     node_modules/react-spring/node_modules/@react-spring/konva
7:00:56 PM: npm WARN
7:00:56 PM: npm WARN Could not resolve dependency:
7:00:56 PM: npm WARN peer react-dom@">=16.13" from react-use-measure@2.1.1
7:00:56 PM: npm WARN node_modules/react-spring/node_modules/@react-three/fiber/node_modules/react-use-measure
7:00:56 PM: npm WARN   react-use-measure@"^2.1.1" from @react-three/fiber@8.0.26
7:00:56 PM: npm WARN   node_modules/react-spring/node_modules/@react-three/fiber
7:00:56 PM: npm WARN
7:00:56 PM: npm WARN Conflicting peer dependency: react-dom@18.2.0
7:00:56 PM: npm WARN node_modules/react-dom
7:00:56 PM: npm WARN   peer react-dom@">=16.13" from react-use-measure@2.1.1
7:00:56 PM: npm WARN   node_modules/react-spring/node_modules/@react-three/fiber/node_modules/react-use-measure
7:00:56 PM: npm WARN     react-use-measure@"^2.1.1" from @react-three/fiber@8.0.26
7:00:56 PM: npm WARN     node_modules/react-spring/node_modules/@react-three/fiber
7:00:56 PM: npm WARN ERESOLVE overriding peer dependency
7:00:56 PM: npm WARN While resolving: suspend-react@0.0.8
7:00:56 PM: npm WARN Found: react@16.8.6
7:00:56 PM: npm WARN node_modules/react-spring/node_modules/react
7:00:56 PM: npm WARN   peer react@"^16.8.0  || >=17.0.0 || >=18.0.0" from @react-spring/konva@9.4.5
7:00:56 PM: npm WARN   node_modules/react-spring/node_modules/@react-spring/konva
7:00:56 PM: npm WARN     @react-spring/konva@"~9.4.5" from react-spring@9.4.5
7:00:56 PM: npm WARN     node_modules/react-spring
7:00:56 PM: npm WARN   4 more (@react-spring/native, react-dom, react-konva, react-reconciler)
7:00:56 PM: npm WARN
7:00:56 PM: npm WARN Could not resolve dependency:
7:00:56 PM: npm WARN peer react@">=17.0" from suspend-react@0.0.8
7:00:56 PM: npm WARN node_modules/react-spring/node_modules/@react-three/fiber/node_modules/suspend-react
7:00:56 PM: npm WARN   suspend-react@"^0.0.8" from @react-three/fiber@8.0.26
7:00:56 PM: npm WARN   node_modules/react-spring/node_modules/@react-three/fiber
7:00:56 PM: npm WARN
7:00:56 PM: npm WARN Conflicting peer dependency: react@18.2.0
7:00:56 PM: npm WARN node_modules/react
7:00:56 PM: npm WARN   peer react@">=17.0" from suspend-react@0.0.8
7:00:56 PM: npm WARN   node_modules/react-spring/node_modules/@react-three/fiber/node_modules/suspend-react
7:00:56 PM: npm WARN     suspend-react@"^0.0.8" from @react-three/fiber@8.0.26
7:00:56 PM: npm WARN     node_modules/react-spring/node_modules/@react-three/fiber
7:01:07 PM: npm WARN deprecated sw-precache@5.2.1: Please migrate to Workbox: https://developers.google.com/web/tools/workbox/guides/migrations/migrate-from-sw
7:01:07 PM: 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 https://v8.dev/blog/math-random for details.
7:01:08 PM: npm WARN deprecated extract-text-webpack-plugin@3.0.2: Deprecated. Please use https://github.com/webpack-contrib/mini-css-extract-plugin
7:01:09 PM: npm WARN deprecated sane@1.6.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
7:01:09 PM: npm WARN deprecated node-pre-gyp@0.13.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
7:01:09 PM: npm WARN deprecated sw-toolbox@3.6.0: Please migrate to Workbox: https://developers.google.com/web/tools/workbox/guides/migrations/migrate-from-sw
7:01:10 PM: npm WARN deprecated html-webpack-plugin@2.29.0: out of support
7:01:10 PM: npm WARN deprecated eslint-loader@1.9.0: This loader has been deprecated. Please use eslint-webpack-plugin
7:01:10 PM: npm WARN deprecated babel-eslint@7.2.3: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
7:01:11 PM: npm WARN deprecated browserslist@2.11.3: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
7:01:12 PM: npm WARN deprecated chokidar@1.7.0: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
7:01:13 PM: npm WARN deprecated uuid@2.0.3: 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.
7:01:13 PM: npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
7:01:13 PM: npm WARN deprecated react-tsparticles@1.39.0: Version 2.x is the current version, v1 is obsolete now
7:01:17 PM: npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
7:01:17 PM: npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
7:01:17 PM: npm WARN deprecated browserslist@2.11.3: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
7:01:18 PM: npm WARN deprecated svgo@0.7.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
7:01:38 PM: added 713 packages, removed 691 packages, changed 423 packages, and audited 4662 packages in 49s
7:01:38 PM: 196 packages are looking for funding
7:01:38 PM:   run `npm fund` for details
7:01:38 PM: 110 vulnerabilities (15 low, 55 moderate, 35 high, 5 critical)
7:01:38 PM: To address issues that do not require attention, run:
7:01:38 PM:   npm audit fix
7:01:38 PM: To address all issues (including breaking changes), run:
7:01:38 PM:   npm audit fix --force
7:01:38 PM: Run `npm audit` for details.
7:01:38 PM: NPM modules installed
7:01:39 PM: npm WARN config tmp This setting is no longer used.  npm stores temporary files in a special
7:01:39 PM: npm WARN config location in the cache, and they are managed by
7:01:39 PM: npm WARN config     [`cacache`](http://npm.im/cacache).
7:01:39 PM: Started restoring cached go cache
7:01:39 PM: Finished restoring cached go cache
7:01:39 PM: Installing Go version 1.17 (requested 1.17)
7:01:44 PM: unset GOOS;
7:01:44 PM: unset GOARCH;
7:01:44 PM: export GOROOT='/opt/buildhome/.gimme/versions/go1.17.linux.amd64';
7:01:44 PM: export PATH="/opt/buildhome/.gimme/versions/go1.17.linux.amd64/bin:${PATH}";
7:01:44 PM: go version >&2;
7:01:44 PM: export GIMME_ENV="/opt/buildhome/.gimme/env/go1.17.linux.amd64.env"
7:01:44 PM: go version go1.17 linux/amd64
7:01:44 PM: Installing missing commands
7:01:44 PM: Verify run directory
7:01:46 PM: ​
7:01:46 PM: ────────────────────────────────────────────────────────────────
7:01:46 PM:   Netlify Build                                                 
7:01:46 PM: ────────────────────────────────────────────────────────────────
7:01:46 PM: ​
7:01:46 PM: ❯ Version
7:01:46 PM:   @netlify/build 27.1.5
7:01:46 PM: ​
7:01:46 PM: ❯ Flags
7:01:46 PM:   baseRelDir: true
7:01:46 PM:   buildId: 62ae590a3e37a900095a8887
7:01:46 PM:   deployId: 62ae590a3e37a900095a8889
7:01:46 PM: ​
7:01:46 PM: ❯ Current directory
7:01:46 PM:   /opt/build/repo
7:01:46 PM: ​
7:01:46 PM: ❯ Config file
7:01:46 PM:   /opt/build/repo/netlify.toml
7:01:46 PM: ​
7:01:46 PM: Creating deploy upload records
7:01:46 PM: ❯ Context
7:01:46 PM:   production
7:01:46 PM: ​
7:01:46 PM: ────────────────────────────────────────────────────────────────
7:01:46 PM:   1. build.command from netlify.toml                            
7:01:46 PM: ────────────────────────────────────────────────────────────────
7:01:47 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
7:01:46 PM: ​
7:01:46 PM: $ CI=npm run build
7:01:46 PM: bash: run: command not found
7:01:46 PM: ​
7:01:46 PM: ────────────────────────────────────────────────────────────────
7:01:46 PM:   "build.command" failed                                        
7:01:46 PM: ────────────────────────────────────────────────────────────────
7:01:46 PM: ​
7:01:46 PM:   Error message
7:01:46 PM:   Command failed with exit code 127: CI=npm run build (https://ntl.fyi/exit-code-127)
7:01:46 PM: ​
7:01:46 PM:   Error location
7:01:46 PM:   In build.command from netlify.toml:
7:01:46 PM:   CI=npm run build
7:01:46 PM: ​
7:01:46 PM:   Resolved config
7:01:46 PM:   build:
7:01:46 PM:     command: CI=npm run build
7:01:46 PM:     commandOrigin: config
7:01:46 PM:     environment:
7:01:46 PM:       - ENVIRONMENT
7:01:46 PM:       - SENDGRID_API_KEY
7:01:46 PM:       - SENDGRID_TEMPLATE_ID
7:01:46 PM:       - SKIP_PREFLIGHT_CHECK
7:01:46 PM:     publish: /opt/build/repo/build
7:01:46 PM:     publishOrigin: config
7:01:46 PM:   functionsDirectory: /opt/build/repo/netlify/functions
7:01:46 PM:   redirects:
7:01:46 PM:     - from: /*
      status: 200
      to: /index.html
    - from: /*
      status: 200
      to: /
    - from: /OnDemand
      status: 200
      to: /OnDemand
  redirectsOrigin: config
Caching artifacts
7:01:46 PM: Started saving node modules
7:01:46 PM: Finished saving node modules
7:01:46 PM: Started saving build plugins
7:01:46 PM: Finished saving build plugins
7:01:46 PM: Started saving pip cache
7:01:46 PM: Finished saving pip cache
7:01:46 PM: Started saving emacs cask dependencies
7:01:46 PM: Finished saving emacs cask dependencies
7:01:46 PM: Started saving maven dependencies
7:01:46 PM: Finished saving maven dependencies
7:01:46 PM: Started saving boot dependencies
7:01:46 PM: Finished saving boot dependencies
7:01:46 PM: Started saving rust rustup cache
7:01:46 PM: Finished saving rust rustup cache
7:01:46 PM: Started saving go dependencies
7:01:46 PM: Finished saving go dependencies
7:01:46 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
7:01:47 PM: Failing build: Failed to build site
7:01:47 PM: Finished processing build request in 1m19.15712156s

Hey @CJAM_Enterprises_LLC

Please refrain from opening multiple thread for the same issue.

This is the third thread you have opened on the same topic.
1: Setting Up the Edge Functions Environment ERROR
2: Setting Up Edge Functions Error

Opening multiple thread will not help get your question answered any quicker.

Understood. Those threads were closed so I assumed nobody could comment on them.

I closed the other threads. Any updates regarding this issue (from yourself and others) will remain in this thread.

This issue with the build here is this

You need a space after the = i.e. CI= npm run build


If this is indeed a different issue than your previous thread(s) (I do note the previous thread was local build/development and it appears this is running on Netlify) I am happy to open the previous thread again. As I noted on one thread here the issue is possibly with Netlify CLI so creating an issue on the GitHub repository is possibly the best course of action.

Thank you, I’ve implemented the space after = but I’m still getting an error with my build command.

  Netlify Build
────────────────────────────────────────────────────────────────
​
❯ Version
  @netlify/build 26.5.3
​
❯ Flags
  dry: false
  offline: false
​
❯ Current directory
  C:\Users\Darkskittlz\Desktop\Coding\Sendgrid-API
​
❯ Config file
  C:\Users\Darkskittlz\Desktop\Coding\Sendgrid-API\netlify.toml
​
❯ Context
  production
​
────────────────────────────────────────────────────────────────
  1. build.command from netlify.toml
────────────────────────────────────────────────────────────────
​
$ CI= npm run build
'CI' is not recognized as an internal or external command,
operable program or batch file.
​
────────────────────────────────────────────────────────────────
  "build.command" failed
────────────────────────────────────────────────────────────────
​
  Error message
  Command failed with exit code 1: CI= npm run build
​
  Error location
  In build.command from netlify.toml:
  CI= npm run build
​
  Resolved config
  build:
    command: CI= npm run build
    commandOrigin: config
    publish: C:\Users\Darkskittlz\Desktop\Coding\Sendgrid-API\build
    publishOrigin: config
  functionsDirectory: C:\Users\Darkskittlz\Desktop\Coding\Sendgrid-API\netlify\functions
  redirects:
    - from: /*
      status: 200
      to: /index.html
    - from: /*
      status: 200
      to: /
    - from: /OnDemand
      status: 200
      to: /OnDemand
  redirectsOrigin: config

   ╭────────────────────────────────────────────────────────╮
   │                                                        │
   │    Please update netlify-cli to its latest version.    │
   │     If netlify-cli is already the latest version,      │
   │   please update your dependencies lock file instead.   │
   │                                                        │

I’ve updated Netlify and retried the netlify build command. But I receive the same error.

Netlify dev gives me this error.

yarn run v1.22.19
$ webpack serve --config config/webpack.dev.js --progress
[webpack-cli] Failed to load 'C:\Users\Darkskittlz\Desktop\Coding\Sendgrid-API\config\webpack.dev.js' config
[webpack-cli] Error: Cannot find module 'C:\Users\Darkskittlz\Desktop\Coding\Sendgrid-API\config\webpack.dev.js'
Require stack:
- C:\Users\Darkskittlz\Desktop\Coding\Sendgrid-API\node_modules\webpack-cli\lib\webpack-cli.js
- C:\Users\Darkskittlz\Desktop\Coding\Sendgrid-API\node_modules\webpack-cli\lib\bootstrap.js
- C:\Users\Darkskittlz\Desktop\Coding\Sendgrid-API\node_modules\webpack-cli\bin\cli.js
- C:\Users\Darkskittlz\Desktop\Coding\Sendgrid-API\node_modules\webpack\bin\webpack.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at WebpackCLI.tryRequireThenImport (C:\Users\Darkskittlz\Desktop\Coding\Sendgrid-API\node_modules\webpack-cli\lib\webpack-cli.js:204:22)
    at loadConfigByPath (C:\Users\Darkskittlz\Desktop\Coding\Sendgrid-API\node_modules\webpack-cli\lib\webpack-cli.js:1404:38)
    at C:\Users\Darkskittlz\Desktop\Coding\Sendgrid-API\node_modules\webpack-cli\lib\webpack-cli.js:1454:88
    at Array.map (<anonymous>)
    at WebpackCLI.loadConfig (C:\Users\Darkskittlz\Desktop\Coding\Sendgrid-API\node_modules\webpack-cli\lib\webpack-cli.js:1454:68)
    at WebpackCLI.createCompiler (C:\Users\Darkskittlz\Desktop\Coding\Sendgrid-API\node_modules\webpack-cli\lib\webpack-cli.js:1785:33) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'C:\\Users\\Darkskittlz\\Desktop\\Coding\\Sendgrid-API\\node_modules\\webpack-cli\\lib\\webpack-cli.js',
    'C:\\Users\\Darkskittlz\\Desktop\\Coding\\Sendgrid-API\\node_modules\\webpack-cli\\lib\\bootstrap.js',
    'C:\\Users\\Darkskittlz\\Desktop\\Coding\\Sendgrid-API\\node_modules\\webpack-cli\\bin\\cli.js',
    'C:\\Users\\Darkskittlz\\Desktop\\Coding\\Sendgrid-API\\node_modules\\webpack\\bin\\webpack.js'
  ]
}
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
◈ Command failed with exit code 2: yarn serve. Shutting down Netlify Dev server

The issue is here.

The configuration file specified is missing.