replicate / llama-chat

A boilerplate for creating a Llama 3 chat app
https://llama3.replicate.dev
Apache License 2.0
765 stars 290 forks source link

Issue #102

Open frazz1234 opened 3 months ago

frazz1234 commented 3 months ago

Unhandled Runtime Error Error: Objects are not valid as a React child (found: [object Error]). If you meant to render a collection of children, use an array instead.

Call Stack throwOnInvalidObjectType node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (8872:0) reconcileChildFibersImpl node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (9879:0) reconcileChildFibers node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (9900:0) reconcileChildren node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (15606:0) updateHostComponent$1 node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (16568:0) beginWork$1 node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (18390:0) beginWork node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (26741:0) performUnitOfWork node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (25587:0) workLoopSync node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (25303:0) renderRootSync node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (25258:0) performSyncWorkOnRoot node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (24727:0) flushSyncWorkAcrossRoots_impl node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (10274:0) flushSyncWorkOnAllRoots node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (10234:0) processRootScheduleInMicrotask node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (10379:0) eval node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (10550:0)

GautamBatta73 commented 3 months ago

I am encountering the same issue as described in the original post. To provide further context and assistance, I will also attach some screenshots showcasing the error: image image

This error occurs when any prompt is typed and submitted on the site.

Ayush-Kumar-web commented 3 months ago

this error is still there

coder-jkb commented 3 months ago

The error persists. Is this related to the REPLICATE_API_TOKEN?