Hi there, Im a student attempting to deploy this project to Vercel for a school assignment. I've forked the repo and made some changes to fit my use case. However, when I attempt to deploy the site using the pre-configured settings, the live deployment redirects to an Error 404 page. I can still manually navigate to the other directories, and open the homepage that way.
When I attempt to modify routes/+page.server.ts to remove the comments without making additional modifications, I get this error (running npm run build)
`error during build:
[vite:esbuild] Transform failed with 2 errors:
C:/Repositories/Portfolio/src/routes/+page.server.ts:21:13: ERROR: Multiple exports with the same name "load"
C:/Repositories/Portfolio/src/routes/+page.server.ts:21:13: ERROR: The symbol "load" has already been declared
file: C:/Repositories/Portfolio/src/routes/+page.server.ts:21:13
Multiple exports with the same name "load"
19 |
20 | /** @type {import('./$types').PageLoad} */
21 | export const load = async ({ fetch }: PageServerLoad) => {
| ^
22 | return {
23 | repos: (await loadProjects({ fetch })).repos,
The symbol "load" has already been declared
19 |
20 | /** @type {import('./$types').PageLoad} */
21 | export const load = async ({ fetch }: PageServerLoad) => {
| ^
22 | return {
23 | repos: (await loadProjects({ fetch })).repos,
at failureErrorWithLog (C:\Repositories\Portfolio\node_modules\esbuild\lib\main.js:1467:15)
at C:\Repositories\Portfolio\node_modules\esbuild\lib\main.js:736:50
at responseCallbacks.<computed> (C:\Repositories\Portfolio\node_modules\esbuild\lib\main.js:603:9)
at handleIncomingPacket (C:\Repositories\Portfolio\node_modules\esbuild\lib\main.js:658:12)
at Socket.readFromStdout (C:\Repositories\Portfolio\node_modules\esbuild\lib\main.js:581:7)
at Socket.emit (node:events:508:28)
at addChunk (node:internal/streams/readable:559:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
at Readable.push (node:internal/streams/readable:390:5)
at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)`
If I remove/comment out the second chunk of code, I get this error instead (only on Vercel, local deployment returns no errors)
error during build: Error: EEXIST: file already exists, symlink '![-]/catchall.func' -> '.vercel/output/functions/index.func' at Object.symlinkSync (node:fs:1879:11) at Object.adapt (file:///vercel/path0/node_modules/@sveltejs/adapter-vercel/index.js:451:9) at async adapt (file:///vercel/path0/node_modules/@sveltejs/kit/src/core/adapt/index.js:41:2) at async finalise (file:///vercel/path0/node_modules/@sveltejs/kit/src/exports/vite/index.js:1326:7) at async Object.handler (file:///vercel/path0/node_modules/@sveltejs/kit/src/exports/vite/index.js:1357:5) at async PluginDriver.hookParallel (file:///vercel/path0/node_modules/rollup/dist/es/shared/node-entry.js:22355:17) at async Object.close (file:///vercel/path0/node_modules/rollup/dist/es/shared/node-entry.js:23374:13) at async buildEnvironment (file:///vercel/path0/node_modules/vite/dist/node/chunks/config.js:33554:15) at async Object.build (file:///vercel/path0/node_modules/vite/dist/node/chunks/config.js:33899:19) at async Object.buildApp (file:///vercel/path0/node_modules/vite/dist/node/chunks/config.js:33896:153) Error: Command "npm run build" exited with 1
I did not push a .vercel directory when I pushed to the remote repo. Screenshots linked show difference between local (development) deployment vs Vercel deployment

This is my forked repo, to help with troubleshooting: https://github.com/Ryo-Soikutsu/Portfolio
Hi there, Im a student attempting to deploy this project to Vercel for a school assignment. I've forked the repo and made some changes to fit my use case. However, when I attempt to deploy the site using the pre-configured settings, the live deployment redirects to an Error 404 page. I can still manually navigate to the other directories, and open the homepage that way.
When I attempt to modify routes/+page.server.ts to remove the comments without making additional modifications, I get this error (running npm run build)
`error during build:
[vite:esbuild] Transform failed with 2 errors:
C:/Repositories/Portfolio/src/routes/+page.server.ts:21:13: ERROR: Multiple exports with the same name "load"
C:/Repositories/Portfolio/src/routes/+page.server.ts:21:13: ERROR: The symbol "load" has already been declared
file: C:/Repositories/Portfolio/src/routes/+page.server.ts:21:13
Multiple exports with the same name "load"
19 |
20 | /** @type {import('./$types').PageLoad} */
21 | export const load = async ({ fetch }: PageServerLoad) => {
| ^
22 | return {
23 | repos: (await loadProjects({ fetch })).repos,
The symbol "load" has already been declared
19 |
20 | /** @type {import('./$types').PageLoad} */
21 | export const load = async ({ fetch }: PageServerLoad) => {
| ^
22 | return {
23 | repos: (await loadProjects({ fetch })).repos,
If I remove/comment out the second chunk of code, I get this error instead (only on Vercel, local deployment returns no errors)
error during build: Error: EEXIST: file already exists, symlink '![-]/catchall.func' -> '.vercel/output/functions/index.func' at Object.symlinkSync (node:fs:1879:11) at Object.adapt (file:///vercel/path0/node_modules/@sveltejs/adapter-vercel/index.js:451:9) at async adapt (file:///vercel/path0/node_modules/@sveltejs/kit/src/core/adapt/index.js:41:2) at async finalise (file:///vercel/path0/node_modules/@sveltejs/kit/src/exports/vite/index.js:1326:7) at async Object.handler (file:///vercel/path0/node_modules/@sveltejs/kit/src/exports/vite/index.js:1357:5) at async PluginDriver.hookParallel (file:///vercel/path0/node_modules/rollup/dist/es/shared/node-entry.js:22355:17) at async Object.close (file:///vercel/path0/node_modules/rollup/dist/es/shared/node-entry.js:23374:13) at async buildEnvironment (file:///vercel/path0/node_modules/vite/dist/node/chunks/config.js:33554:15) at async Object.build (file:///vercel/path0/node_modules/vite/dist/node/chunks/config.js:33899:19) at async Object.buildApp (file:///vercel/path0/node_modules/vite/dist/node/chunks/config.js:33896:153) Error: Command "npm run build" exited with 1I did not push a .vercel directory when I pushed to the remote repo. Screenshots linked show difference between local (development) deployment vs Vercel deployment