vercel / ai-chatbot

A full-featured, hackable Next.js AI chatbot built by Vercel
https://chat.vercel.ai
Other
5.51k stars 1.62k forks source link

Type error in type checking step in vercel deployment #334

Open raphaelgpalma opened 1 month ago

raphaelgpalma commented 1 month ago

LOG: [11:20:27.375] [11:20:27.375] info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules [11:20:30.356] Failed to compile. [11:20:30.357] [11:20:30.357] ./components/chat-panel.tsx:77:31 [11:20:30.358] Type error: Parameter 'currentMessages' implicitly has an 'any' type. [11:20:30.358] [11:20:30.358] } ` } [11:20:30.358] onClick={async () => { [11:20:30.358] setMessages(currentMessages => [ [11:20:30.358] [11:20:30.359] ...currentMessages, [11:20:30.359] { [11:20:30.359] id nanoid(), [11:20:30.397] Error: Command "next build" exited with 1 [11:20:30.876]