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

Instead of: /* export default async function Page({ searchParams, }: { searchParams?: { query?: string; page?: string; }; }) { const query = searchParams?.query || ''; const currentPage = Number(searchParams?.page)...

I am facing issue while following the create dashboard application from the documentation (chapter - 6): `An error occurred while attempting to seed the database: VercelPostgresError: VercelPostgresError - 'missing_connection_string': You...

``` > seed > node -r dotenv/config ./scripts/seed.js node:events:492 throw er; // Unhandled 'error' event ^ Error: read ECONNRESET at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20) Emitted 'error' event on WebSocket instance at: at...

This is completely unnecessary and pretty much breaks the entire tutorial for any other tools.

![image](https://github.com/vercel/next-learn/assets/983550/7886a424-b5d2-4aa9-8dee-b8ffa3233c3f) In chapter 14 - Improving Accessibility, in the screenshot there's a form state error message at the end of the form which didn't display. Maybe need to be included...

only 3 table were populated in vercel postgres db ![image](https://github.com/vercel/next-learn/assets/58800553/e88297b7-e495-4e4c-8be8-60f85ebae720) ### error message ``` bluewizard888888@cloudshell:~/learn_next/nextjs-dashboard$ npm run seed > seed > node -r dotenv/config ./scripts/seed.js Created "users" table Seeded 1...

The error messages suggest the values are missing (`required_error`) instead of being of the wrong type (`invalid_type_error`). The course content in Chapter 14 should also be updated accordingly.

On [this page](https://nextjs.org/learn/dashboard-app/adding-authentication#adding-the-credentials-provider), the link to the Credentials provider is broken. The existing value of `https://authjs.dev/getting-started/providers/credentials-tutorial` lands on a 404. It likely should be changed to `https://authjs.dev/getting-started/authentication/credentials`. ![image](https://github.com/vercel/next-learn/assets/943344/9e6403da-3a61-4b4a-bf38-c26a63affe35)

Bumps [tar](https://github.com/isaacs/node-tar) from 6.2.0 to 6.2.1. Commits bef7b1e 6.2.1 fe8cd57 prevent extraction in excessively deep subfolders fe7ebfd remove security.md See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tar&package-manager=npm_and_yarn&previous-version=6.2.0&new-version=6.2.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will...

dependencies
javascript

Bumps [tar](https://github.com/isaacs/node-tar) from 6.2.0 to 6.2.1. Commits bef7b1e 6.2.1 fe8cd57 prevent extraction in excessively deep subfolders fe7ebfd remove security.md See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tar&package-manager=npm_and_yarn&previous-version=6.2.0&new-version=6.2.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will...

dependencies
javascript