How to Create a Next.js App with create-next-app
Create a Next.js app with create-next-app and its recommended defaults, then start it with npm run dev and open it at localhost:3000. Every output shown is from a real run.
- Web Application
- React.js
Create a Next.js app with create-next-app and its recommended defaults, then start it with npm run dev and open it at localhost:3000. Every output shown is from a real run.
From the zip to a running app: unzip the Minimal TanStack Start Starter, install its packages with npm, start it and add your first page.
Use the #/ alias the TanStack CLI sets up to import from the src folder without long relative paths.
Set up a TanStack Start app by hand with npm, Vite and five small files, then run it and build it.
Move a TanStack Start app off port 3000 with one change in package.json, or for a single run with one command.
The questions the TanStack CLI asks when you create an app, what each one means, and the options that answer them in one command.
npx auth info prints your Better Auth version, frameworks, database client and settings in one report, with secrets hidden. Here’s what it shows.
In a new TanStack Start app, npm run check reported 8 errors and “Some errors were emitted while running checks”. Here’s what Biome was saying, and the two commands that clear it.
After upgrading a TanStack Start app to TypeScript 7, npm run build failed with a TypeError about ‘Intrinsic’. Here’s the one check that showed why, and the side-by-side fix from TypeScript’s announcement.
Node.js printed a MODULE_TYPELESS_PACKAGE_JSON warning every time Better Auth’s command-line tool loaded lib/auth.ts. One line in package.json fixed it.