joschan21 / breadit Goto Github PK
View Code? Open in Web Editor NEWModern Fullstack Reddit Clone in Next.js 13 & TypeScript
Modern Fullstack Reddit Clone in Next.js 13 & TypeScript
Configuration is missing. Please run init to create a components.json file.
breadit/src/components/Editor.tsx
Line 108 in 60cf197
instead of this we can use below code to solve image uplaoding problems.
const [res] = await uploadFiles({
endpoint: 'imageUploader',
files: [file],
})
Whenever i empty the search bar, the second i remove the last character in the input it throws an error:
Unhandled Runtime Error
TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
I have the whole lesson, but when i try to post in subreddit, after writing and click post, it will show this error ( Something is wrong, required). what could be the cause.
I don't see an OSS license for this repo. Would be nice to have so people feel safe extending and using the code!
ShadCN/UI has updated the installation process and provided a bunch of questions during initialization.
A components.json must be configured and therefore should be provided in the project source code files for reference.
Thanks
When I add in Navbar.tsx by following video from youtube and start local server there occurs 3 errors:
<div className="container max-w-7xl h-full mx-auto flex items-center justify-between gap-2">
{/* { logo } */}
<Link href='/' className="flex gap-2 items-center">
<p className="hidden text-zinc-700 text-sm font-medium md:block">Breadit</p>
</Link>
</div>
The error above occurs.
hi josh, im following your wonderful tutorial, and i was stuck on a problem in postServerVote component. to be exact in prop of passing getData function as a prop in the component,
error message was:
Argument where of type PostWhereUniqueInput needs at least one argument. Available args are listed in green.
i found its solution on Stack overflow saying make it findFirst instead of findunique, and it worked!!!
please check this prob, is it only with me or with everyone
Thank you for your Teaching
When i am trying to upload an image or post a link, its comes up and says :"Couldn’t upload image. Please try another."(for an image)
Theres just this annoying black marker visible in the create post bar on the subreddit community page
{/* TODO: Show posts in user feed */}
undefined
When I'm clicking on signIn it is showing
"Application error: a client-side exception has occurred "
First - AMAZING WORK JOSH! (as always)
i'm almost done with this (deploy stage) but keep getting the following error on infinite scrolling when reaching the final post
Unhandled Runtime Error
TypeError: Cannot read properties of undefined (reading 'map')
i've gone through everything multiple times, compared to this repo carefully and tried several stack exchange suggestions but no luck - any ideas?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.