Errors in nextjs example #27

Closed
opened 2026-02-16 02:17:45 -05:00 by yindo · 2 comments
Owner

Originally created by @ArtemOstapov on GitHub (Jul 9, 2025).

Originally assigned to: @thucpn on GitHub.

Have tried nextjs example but got errors:

 ⨯ ./app/layout.tsx:2:1
Module not found: Can't resolve '@llamaindex/chat-ui/styles/markdown.css'
  1 | import './globals.css'
> 2 | import '@llamaindex/chat-ui/styles/markdown.css'
    | ^
⨯ ./app/page.tsx:3:1
Module not found: Can't resolve '@llamaindex/chat-ui'
  1 | 'use client'
  2 |
> 3 | import {
    | ^

Steps tp reproduce:

  1. git clone git@github.com:run-llama/chat-ui.git chat-ui
  2. cd chat-ui\examples\nextjs\
  3. npm install
  4. npm run dev
Originally created by @ArtemOstapov on GitHub (Jul 9, 2025). Originally assigned to: @thucpn on GitHub. Have tried nextjs example but got errors: ``` ⨯ ./app/layout.tsx:2:1 Module not found: Can't resolve '@llamaindex/chat-ui/styles/markdown.css' 1 | import './globals.css' > 2 | import '@llamaindex/chat-ui/styles/markdown.css' | ^ ``` ``` ⨯ ./app/page.tsx:3:1 Module not found: Can't resolve '@llamaindex/chat-ui' 1 | 'use client' 2 | > 3 | import { | ^ ``` Steps tp reproduce: 1. git clone git@github.com:run-llama/chat-ui.git chat-ui 2. cd chat-ui\examples\nextjs\ 3. npm install 4. npm run dev
yindo closed this issue 2026-02-16 02:17:45 -05:00
Author
Owner

@marcusschiesser commented on GitHub (Jul 11, 2025):

please try again

@marcusschiesser commented on GitHub (Jul 11, 2025): please try again
Author
Owner

@ArtemOstapov commented on GitHub (Jul 11, 2025):

please try again

tnx! working

@ArtemOstapov commented on GitHub (Jul 11, 2025): > please try again tnx! working
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/chat-ui#27