My build is failing because of "Module not found"

My site is: https://limbus-company-id-creator.netlify.app/.

I keep running into “Module not found“ error when trying to deploy:

10:09:39 PM: Netlify Build

10:09:39 PM: ────────────────────────────────────────────────────────────────

10:09:39 PM:

10:09:39 PM: ❯ Version

10:09:39 PM: @netlify/build 35.1.8

10:09:39 PM:

10:09:39 PM: ❯ Flags

10:09:39 PM: accountId: 63e78bf9fb18ad28195c4f71

10:09:39 PM: baseRelDir: true

10:09:39 PM: buildId: 68e28a1d7a1a6426748951ab

10:09:39 PM: deployId: 68e28a1d7a1a6426748951ad

10:09:39 PM:

10:09:39 PM: ❯ Current directory

10:09:39 PM: /opt/build/repo/id-creator

10:09:39 PM:

10:09:39 PM: ❯ Config file

10:09:39 PM: No config file was defined: using default values.

10:09:39 PM:

10:09:39 PM: ❯ Context

10:09:39 PM: production

10:09:39 PM:

10:09:39 PM: Build command from Netlify app

10:09:39 PM: ────────────────────────────────────────────────────────────────

10:09:39 PM: ​

10:09:39 PM: $ CI= npm run build && cp _redirects build

10:09:39 PM: > id-creator@0.1.0 build

10:09:39 PM: > react-scripts build

10:09:40 PM: Creating an optimized production build…

10:09:40 PM: Browserslist: caniuse-lite is outdated. Please run:

10:09:40 PM: npx update-browserslist-db@latest

10:09:40 PM: Why you should do it regularly: https://github.com/browserslist/update-db#readme

10:09:41 PM: Failed to compile.

10:09:41 PM:

10:09:41 PM: Module not found: Error: Can’t resolve ‘Utils/IndexDB/indexDB’ in ‘/opt/build/repo/id-creator/src’

10:09:41 PM:

10:09:41 PM: “build.command” failed

10:09:41 PM: ────────────────────────────────────────────────────────────────

10:09:41 PM: ​

10:09:41 PM: Error message

10:09:41 PM: Command failed with exit code 1: CI= npm run build && cp _redirects build (https://ntl.fyi/exit-code-1)

10:09:41 PM: ​

10:09:41 PM: Error location

10:09:41 PM: In Build command from Netlify app:

10:09:41 PM: CI= npm run build && cp _redirects build

10:09:41 PM: ​

10:09:41 PM: Resolved config

10:09:41 PM: build:

10:09:41 PM: base: /opt/build/repo/id-creator

10:09:41 PM: command: CI= npm run build && cp _redirects build

10:09:41 PM: commandOrigin: ui

10:09:41 PM: environment:

10:09:41 PM: - NODE_PATH

10:09:41 PM: - REACT_APP_GOOGLE_CLIENT_ID

10:09:41 PM: - REACT_APP_LOCAL_SAVE_MAX_LEN

10:09:41 PM: - REACT_APP_SERVER_URL

10:09:41 PM: publish: /opt/build/repo/id-creator/build

10:09:41 PM: publishOrigin: ui

10:09:41 PM: Build failed due to a user error: Build script returned non-zero exit code: 2

10:09:41 PM: Failing build: Failed to build site

10:09:42 PM: Finished processing build request in 23.848s

10:09:41 PM: Failed during stage ‘building site’: Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2).

“Utils/IndexDB/indexDB“ is a valid file path, and I have built the project successfully locally on my machine. Can someone help me with this?

Check the precise path and filename in your repository.

The build on Netlify is case sensitive.