next-learn icon indicating copy to clipboard operation
next-learn copied to clipboard

Learn Next.js Starter Code

Results 275 next-learn issues
Sort by recently updated
recently updated
newest added

After I run npm run seed, here is the error message, > seed > node -r dotenv/config ./scripts/seed.js node:events:492 throw er; // Unhandled 'error' event ^ Error: getaddrinfo ENOTFOUND ep-plain-union-a7292e8g-pooler.ap-southeast-2.postgres.vercel-storage.com...

I had trouble seeding the database then after changing to node version 20, it worked. Now I can't fetch data. I use nvm. What could be the issue?

```app/lib/data.ts (31:10) @ fetchRevenue ⨯ Error: Failed to fetch revenue data. at fetchRevenue (./app/lib/data.ts:30:15) at async Page (./app/dashboard/page.tsx:15:21) digest: "867752762" 29 | } catch (error) { 30 | console.error('Database Error:',...

I can't seed database. Can anyone help me solve this problem? /(ㄒoㄒ)/~~ ![1703225851740](https://github.com/vercel/next-learn/assets/102860151/e19c5295-0835-4adf-8e0f-3fa13e633bc7) PS D:\projects\next\nextjs-dashboard> npm run seed > seed > node -r dotenv/config ./scripts/seed.js node:events:493 throw er; // Unhandled...

I'm running into a problem after creating a vercel postgres db and connecting it to my project. I changed .env.example into .env and copy pasted the .env.local secrets. I also...

Hi all, From the [docs](https://nextjs.org/docs/app/api-reference/functions/unstable_noStore): > unstable_noStore can be used to declaratively opt out of static rendering and indicate a particular component should not be cached. In the tutorial, we...

Hello I was studying through next learn and came across the InvoiceStatus component. It takes a status prop and I saw that it is defined as a string type. I'm...

I've been working through learning next dashboard course and at around chapter 13, I'm getting an error and can't resolve when clicking on editing an invoice. The error is: ```...

Add missing type. This chapter also contains some inconsistencies in the text. Can we suggest improvements in that regard?

As soon as I use 'use client' in chapter 5 I'm running into a problem. Here's my code: ``` 'use client' import { UserGroupIcon, HomeIcon, DocumentDuplicateIcon, } from '@heroicons/react/24/outline'; import...