🔴 DisciplinesTab: broken import path @/types/disciplines — module not found #51

Closed
opened 2026-05-18 17:06:36 +02:00 by Anexim · 3 comments
Owner

File: src/components/game/tabs/DisciplinesTab.tsx, line 3

import type { DisciplineDefinition } from '@/types/disciplines';

The path @/types/disciplines does not resolve to any file. The actual type definition lives at src/lib/game/types/disciplines.ts, so the correct import path is @/lib/game/types/disciplines.

Impact: Build failure / module not found error at compile time. The Disciplines tab cannot load at all.

Fix: Change the import to @/lib/game/types/disciplines.

**File:** `src/components/game/tabs/DisciplinesTab.tsx`, line 3 ```ts import type { DisciplineDefinition } from '@/types/disciplines'; ``` The path `@/types/disciplines` does not resolve to any file. The actual type definition lives at `src/lib/game/types/disciplines.ts`, so the correct import path is `@/lib/game/types/disciplines`. **Impact:** Build failure / module not found error at compile time. The Disciplines tab cannot load at all. **Fix:** Change the import to `@/lib/game/types/disciplines`.
Anexim added the ai:todo label 2026-05-18 17:06:36 +02:00
n8n-gitea was assigned by Anexim 2026-05-18 17:06:36 +02:00
Author
Owner

[priority: 5] CRASH/BLOCKER — Broken import path blocks entire DisciplinesTab feature chain (#52-56 depend on this).

[priority: 5] CRASH/BLOCKER — Broken import path blocks entire DisciplinesTab feature chain (#52-56 depend on this).
Author
Owner

Starting work on #51 — root cause of DisciplinesTab feature chain. Investigating broken import path @/types/disciplines.

Starting work on #51 — root cause of DisciplinesTab feature chain. Investigating broken import path @/types/disciplines.
Author
Owner

Fixed: Changed import from @/types/disciplines to @/lib/game/types/disciplines in DisciplinesTab.tsx.

Fixed: Changed import from `@/types/disciplines` to `@/lib/game/types/disciplines` in DisciplinesTab.tsx.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Anexim/Mana-Loop#51