UploadThing Error while following "From 0 to Production" tutorial
While trying to follow Theo's tutorial here:
https://www.youtube.com/watch?v=d5x0JCZbAJs
Around the 1:00:25 timestamp, while following the UploadThing setup section, I get the error in the image below. I have no idea where it's coming from or how to fix it. I haven't seen any issues brought up about it in the uploadthing Github repo so I'm assuming it's a me issue. I'm not sure what I did wrong, since I've been following the tutorial very closely.
Does anyone have any ideas on where I should look for where the issue might be?
Theo - t3․gg
YouTube
From 0 to Production - The Modern React Tutorial (RSCs, Next.js, Sh...
The Modern React Tutorial is FINALLY done. This one took awhile.
Shoutout to ALL the awesome sponsors who made this possible:
- Vercel
- Clerk
- Posthog
- Sentry
- Upstash
NOTES I MENTION DURING VIDEO
"Nextgram": https://github.com/vercel/nextgram/tree/main/app
"useUploadThingInputProps": https://gist.github.com/t3dotgg/0464ca78e94acce80ba04ca...
Solution:Jump to solution
resolved! The issue was not making the component that used the UploadButton component a client component.
1 Reply
Solution
resolved! The issue was not making the component that used the UploadButton component a client component.