Uploading error when publishing site to Netlify, blank page in manual and errors when uploading from GitHub

I have a developed directory in a file and uploaded both manually and directly from github.
Page is marvelous-gecko-eeca3b, GitHub - michael1pilger/nba-draft-hub-final on github. When I manually upload with a zipped file of all relevant files, I get a blank page. When I upload through github, I run into an initialization or building error. This is the building error:
2:06:23 AM: Failed during stage ‘building site’: Build script returned non-zero exit code: 2 (Search results for '"non-zero exit code: 2"' - Netlify Support Forums)
2:06:21 AM: Netlify Build
2:06:21 AM: ────────────────────────────────────────────────────────────────
2:06:21 AM: ​
2:06:21 AM: ❯ Version
2:06:21 AM: @netlify/build 33.2.0
2:06:21 AM: ​
2:06:21 AM: ❯ Flags
2:06:21 AM: accountId: 68326d3629f4aa9a482954f9
2:06:21 AM: baseRelDir: true
2:06:21 AM: buildId: 6832dcb217bab21d6c5349b7
2:06:21 AM: deployId: 6832dcb217bab21d6c5349b9
2:06:21 AM: ​
2:06:21 AM: ❯ Current directory
2:06:21 AM: /opt/build/repo
2:06:21 AM: ​
2:06:21 AM: ❯ Config file
2:06:21 AM: No config file was defined: using default values.
2:06:21 AM: ​
2:06:21 AM: ❯ Context
2:06:21 AM: production
2:06:21 AM: ​
2:06:21 AM: Build command from Netlify app
2:06:21 AM: ────────────────────────────────────────────────────────────────
2:06:21 AM: ​
2:06:21 AM: $ npm run build
2:06:21 AM: > nba-draft-hub@0.0.0 build
2:06:21 AM: > vite build
2:06:22 AM: vite v6.3.5 building for production…
2:06:22 AM: transforming…
2:06:22 AM: ✓ 212 modules transformed.
2:06:22 AM: ✗ Build failed in 386ms
2:06:22 AM: error during build:
2:06:22 AM: Could not resolve “../data/intern_project_data.json” from “src/components/PlayerProfile.jsx”
2:06:22 AM: file: /opt/build/repo/src/components/PlayerProfile.jsx
2:06:22 AM: at getRollupError (file:///opt/build/repo/node_modules/rollup/dist/es/shared/parseAst.js:400:41)
2:06:22 AM: at error (file:///opt/build/repo/node_modules/rollup/dist/es/shared/parseAst.js:396:42)
2:06:22 AM: at ModuleLoader.handleInvalidResolvedId (file:///opt/build/repo/node_modules/rollup/dist/es/shared/node-entry.js:21379:24)
2:06:22 AM: at file:///opt/build/repo/node_modules/rollup/dist/es/shared/node-entry.js:21339:26
2:06:22 AM: ​
2:06:22 AM: “build.command” failed
2:06:22 AM: ────────────────────────────────────────────────────────────────
2:06:22 AM: ​
2:06:22 AM: Error message
2:06:22 AM: Command failed with exit code 1: npm run build (Search results for '"non-zero exit code: 1"' - Netlify Support Forums)
2:06:22 AM: ​
2:06:22 AM: Error location
2:06:22 AM: In Build command from Netlify app:
2:06:22 AM: npm run build
2:06:22 AM: ​
2:06:22 AM: Resolved config
2:06:22 AM: build:
2:06:22 AM: command: npm run build
2:06:22 AM: commandOrigin: ui
2:06:22 AM: publish: /opt/build/repo/dist
2:06:22 AM: publishOrigin: ui
2:06:22 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
2:06:22 AM: Failing build: Failed to build site
2:06:23 AM: Finished processing build request in 13.09s

I have fixed this error before, but then run into an initialization error.
Seems to bounce back and forth between not being able to find the data file (intern_project_data.json) and having trouble with src/data submodules. Please help! I’ve been debugging but made no progress at all.

As soon as I posted this and tried some more debugging, it worked. The data file was corrupted, so I manually went in and renamed, deleted, and replaced the folder. Everything worked after that.