Bug Description
When setting up the project locally and attempting to build the frontend production bundle (cd frontend && npm run build), the build fails due to multiple TypeScript compilation errors and type mismatches.
Steps to Reproduce
- Clone the repository: git clone https://github.com/AOSSIE-Org/DebateAI.git
- Navigate to frontend: cd DebateAI/frontend
- Install dependencies: npm install
- Run build command: npm run build
Logs and Screenshots
src/services/teamDebateService.ts(172,15): error TS2552: Cannot find name 'MatchmakingPoolResponse'. Did you mean 'TeamMatchmakingPoolResponse'?
src/Pages/Game.tsx(256,20): error TS2345: Type 'number' is not assignable to type 'boolean' (points property type conflict).
src/Pages/TeamDebateRoom.tsx(2209,13): error TS2322: Property 'liveTranscript' does not exist on type 'SpeechTranscriptsProps'.
src/components/CommentTree.tsx(7,3): error TS6133: 'commentsByTranscriptAtom' is declared but its value is never read.
Environment Details
No response
Impact
Critical - Application is unusable
Code of Conduct
Bug Description
When setting up the project locally and attempting to build the frontend production bundle (
cd frontend && npm run build), the build fails due to multiple TypeScript compilation errors and type mismatches.Steps to Reproduce
Logs and Screenshots
src/services/teamDebateService.ts(172,15): error TS2552: Cannot find name 'MatchmakingPoolResponse'. Did you mean 'TeamMatchmakingPoolResponse'?
src/Pages/Game.tsx(256,20): error TS2345: Type 'number' is not assignable to type 'boolean' (points property type conflict).
src/Pages/TeamDebateRoom.tsx(2209,13): error TS2322: Property 'liveTranscript' does not exist on type 'SpeechTranscriptsProps'.
src/components/CommentTree.tsx(7,3): error TS6133: 'commentsByTranscriptAtom' is declared but its value is never read.
Environment Details
No response
Impact
Critical - Application is unusable
Code of Conduct