You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the Simple Next.js template which uses Vercel Postgres as the database and Kysely as the query builder.
After completing all the setup steps, I encountered the following error when running pnpm dev:
pnpm dev
> [email protected] dev C:\Users\sec\Desktop\postgres-drizzle
> next dev
▲ Next.js 13.5.4
- Local: http://localhost:3000
- Environments: .env.development.local
✓ Ready in 2.5s
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme
✓ Compiled /page in 2.1s (780 modules)
⨯ Error: invariant expected app router to be mounted
at RefreshButton (./components/refresh-button.tsx:14:78)
✓ Compiled in 260ms (258 modules)
⨯ Error: invariant expected app router to be mounted
at RefreshButton (./components/refresh-button.tsx:14:78)
✓ Compiled /favicon.ico/route in 801ms (39 modules)
I am using the Simple Next.js template which uses Vercel Postgres as the database and Kysely as the query builder.
After completing all the setup steps, I encountered the following error when running pnpm dev:
components\refresh-button.tsx
The text was updated successfully, but these errors were encountered: