next-learn
next-learn copied to clipboard
Learn Next.js Starter Code
 `backend.bundle.js:1 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'current') at backend.bundle.js:1:128442 at backend.bundle.js:1:128598 at backend.bundle.js:1:127404 at Object.next (backend.bundle.js:1:127509) at backend.bundle.js:1:126424 at new Promise () at C...
after [2. Update the URL with the search params](https://nextjs.org/learn/dashboard-app/adding-search-and-pagination#2-update-the-url-with-the-search-params) /app/ui/search.tsx code `'use client'; import { MagnifyingGlassIcon } from '@heroicons/react/24/outline'; import { useSearchParams, usePathname, useRouter } from 'next/navigation'; export default function...
When i run: `npx create-next-app@latest nextjs-dashboard --use-npm --example "https://github.com/vercel/next-learn/tree/main/dashboard/starter-example/"` It shows: **Could not locate the repository for "https://github.com/vercel/next-learn/tree/main/dashboard/starter-example". Please check that the repository exists and try again.** But if i...
The two seed scripts (both [final-example ](https://github.com/vercel/next-learn/blob/e75f71499fd2bc2dbabf60992f423e07d33c15fd/dashboard/final-example/scripts/seed.js#L72C9-L72C37)and [starter-example](https://github.com/vercel/next-learn/blob/e75f71499fd2bc2dbabf60992f423e07d33c15fd/dashboard/starter-example/scripts/seed.js#L72)) both include `ON CONFLICT (id) DO NOTHING;` in their SQL, but it is not effective. With no 'id' property on the invoices...
Everything so far works without issue until adding noStore to the various data calling functions in data.ts. Once I do this I repeatedly get errors locally in the terminal on...
### What is the improvement or update you wish to see? Hello, search on the internet but found no answer. When creating the parenthesis folder /(overview) i get this error...
### What is the improvement or update you wish to see? In chapter 14 server side validation section. We want to show required field error , when user submit empty...
Hi, I can't connect to seed database. I can't find any doc about self signed certificates. ``` node:events:492 throw er; // Unhandled 'error' event ^ Error: self-signed certificate at TLSSocket.onConnectSecure...
Each time `npm run seed` is executed, an extra 15 rows are inserted into the invoices table. This is because: 1. no member of the `invoices` array exported from the...
`getUser` implementation got moved to `@app/lib/data`: - #212 However, during the update of `auth.ts`, somehow `getUser` got decided to retained in `auth.ts` (which might be a result of a git...