diff --git a/docs/architecture.md b/docs/architecture.md index 73d0771d..8eb8e81c 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -91,7 +91,7 @@ Compass/ | Category | Technology | Version | | ---------- | --------------------- | ------- | -| Framework | Next.js | 14.1.0 | +| Framework | Next.js | 16 | | UI Library | React | 19.2.3 | | Language | TypeScript | 5.5.4 | | Styling | Tailwind CSS | 3.3.3 | diff --git a/web/README.md b/web/README.md index 304ce1c4..0c13ebfd 100644 --- a/web/README.md +++ b/web/README.md @@ -8,7 +8,7 @@ This is the frontend of the Compass platform, a transparent platform for forming ## Tech Stack -- **Framework**: Next.js 14.1.0 +- **Framework**: Next.js 16 - **Language**: TypeScript - **UI Library**: React 19.2.3 - **Styling**: Tailwind CSS 3.3.3 @@ -220,6 +220,7 @@ Catches React errors and shows user-friendly message: ```tsx import {ErrorBoundary} from 'web/components/error-boundary' + ; @@ -249,6 +250,7 @@ Keyboard users can skip to main content: ```tsx import {SkipLink, MainContent} from 'web/components/skip-link' + ;<> ... @@ -354,19 +356,3 @@ Add the following environment variables and the ones in `.env` in the Vercel das ```bash NEXT_PUBLIC_VERCEL=1 ``` - -## `next` version - -The `next` version is 14.1.0, as we get the following error with 15.1.2 and above when accessing `/[username]` pages on -Vercel: - -``` -Cannot find module 'next/dist/compiled/source-map' -Require stack: -- /var/task/node_modules/next/dist/compiled/next-server/server.runtime.prod.js -- /var/task/web/___next_launcher.cjs -Did you forget to add it to "dependencies" in `package.json`? -Node.js process exited with exit status: 1. The logs above can help with debugging the issue. -``` - -TODO: investigate, find a fix and upgrade.