Module not found

Author: MataS2723Created Jun 21, 2025Updated Jun 22, 2025
[0]  ○ Compiling / ...
[0]  ⨯ ./app/page.tsx:5:1
[0] Module not found: Can't resolve '@/components/chat'
[0]   3 | import { useEffect, useState } from "react";
[0]   4 | import { AgentPanel } from "@/components/agent-panel";
[0] > 5 | import { Chat } from "@/components/chat";
[0]     | ^
[0]   6 | import type { Agent, AgentEvent, GuardrailCheck, Message } from "@/lib/types";
[0]   7 | import { callChatAPI } from "@/lib/api";
[0]   8 |
[0] 
[0] https://nextjs.org/docs/messages/module-not-found
[0]  ⨯ ./app/page.tsx:5:1
[0] Module not found: Can't resolve '@/components/chat'
[0]   3 | import { useEffect, useState } from "react";
[0]   4 | import { AgentPanel } from "@/components/agent-panel";
[0] > 5 | import { Chat } from "@/components/chat";
[0]     | ^
[0]   6 | import type { Agent, AgentEvent, GuardrailCheck, Message } from "@/lib/types";
[0]   7 | import { callChatAPI } from "@/lib/api";
[0]   8 |
[0] 
[0] https://nextjs.org/docs/messages/module-not-found
[0]  ⨯ ./app/page.tsx:5:1
[0] Module not found: Can't resolve '@/components/chat'
[0]   3 | import { useEffect, useState } from "react";
[0]   4 | import { AgentPanel } from "@/components/agent-panel";
[0] > 5 | import { Chat } from "@/components/chat";
[0]     | ^
[0]   6 | import type { Agent, AgentEvent, GuardrailCheck, Message } from "@/lib/types";
[0]   7 | import { callChatAPI } from "@/lib/api";
[0]   8 |
[0] 
[0] https://nextjs.org/docs/messages/module-not-found
[0]  GET / 500 in 6575ms

Source: openai/openai-cs-agents-demo