Skip to content

[BUG]: App fails to build missing SupportOpenSource page and duplicate routes in App.tsx #364

@compiler041

Description

@compiler041

Bug Description

Bug 1 — Missing SupportOpenSource page (build breaking)

App.tsx imports ./Pages/SupportOpenSource and defines a route for
/support-debateai, but the file does not exist in the codebase.
This causes an immediate Vite build error on startup:

"Failed to resolve import './Pages/SupportOpenSource' from 'src/App.tsx'.
Does the file exist?"

The app cannot load at all until this is resolved.

Bug 2 — Duplicate routes

The following routes are defined twice in App.tsx:

  • /coach
  • coach/strengthen-argument

Steps to Reproduce

  1. Clone the repo
  2. cd frontend && npm run dev
  3. App immediately fails with the import error above

Expected Behaviour

  • App builds and runs without errors
  • /support-debateai renders a valid page
  • Each route is defined only once

Files Affected

  • frontend/src/App.tsx
  • frontend/src/Pages/SupportOpenSource.tsx (missing)

##Screenshots:

Image

Steps to Reproduce

No response

Logs and Screenshots

No response

Environment Details

No response

Impact

Critical - Application is unusable

Code of Conduct

  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions