Skip to content

Commit 9d6d769

Browse files
author
haverchuck
committed
fix(js): specify next js versions more explicitly
1 parent a251166 commit 9d6d769

File tree

5 files changed

+20
-1
lines changed
  • src
    • fragments/start/getting-started/next
    • pages
      • [platform]/start/quickstart/nextjs-app-router-client-components
      • gen1/[platform]

5 files changed

+20
-1
lines changed

src/fragments/start/getting-started/next/setup.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<Callout>
22

33
This tutorial is built using the pages directory from NextJS. To learn more about using Amplify with the NextJS app directory please visit this [documentation page](/gen1/[platform]/build-a-backend/server-side-rendering/set-up-ssr/#use-amplify-with-nextjs-app-router-app-directory).
4+
**Note:** We currently support Next JS versions 13.5.0 up to 14.x. We are investigating support for later versions.
45

56
</Callout>
67

src/pages/[platform]/start/quickstart/nextjs-app-router-client-components/index.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ This Quickstart guide will walk you through how to build a task list application
3232
- [git](https://git-scm.com/) v2.14.1 or later
3333
- If you are new to these technologies, we recommend you go through the official [React](https://react.dev/learn/tutorial-tic-tac-toe), [Next.js](https://nextjs.org/docs/getting-started/installation), and [TypeScript](https://www.typescriptlang.org/docs/handbook/typescript-from-scratch.html) tutorials first.
3434

35+
<Callout>
36+
37+
**Note:** We currently support Next JS versions 13.5.0 up to 14.x. We are investigating support for later versions.
38+
39+
</Callout>
40+
3541
## Deploy a fullstack app to AWS
3642

3743
We've created a starter "To-do" application to help get started faster. First, you will create a repository in your GitHub account using our starter Next template.

src/pages/gen1/[platform]/build-a-backend/restapi/gen-ai/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ With Amplify and Amazon Bedrock, you can create a generative AI application easi
4141
For this we will use React and Next.js to take advantage of the full managed hosting of Next.js server-side rendering (SSR) capabilities in Amplify Hosting. The first step is to create a new Next.js project using yarn, npm, pnpm, or Bun.
4242

4343
```bash
44-
npx create-next-app@latest
44+
npx create-next-app@14
4545
```
4646

4747
```bash

src/pages/gen1/[platform]/start/getting-started/setup/index.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,12 @@ npm create next-app@14 -- next-amplified --ts --no-eslint --src-dir --import-ali
234234
cd next-amplified
235235
```
236236

237+
<Callout>
238+
239+
**Note:** We currently support Next JS versions 13.5.0 up to 14.x. We are investigating support for later versions.
240+
241+
</Callout>
242+
237243
This command will bootstrap the project with the following options:
238244

239245
- App Router

src/pages/gen1/[platform]/start/project-setup/create-application/index.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ Run the following command and following the instructions to create a Next.js app
6262
npx create-next-app@">=13.5.0 <15.0.0" next-amplified
6363
```
6464

65+
<Callout>
66+
67+
**Note:** We currently support Next JS versions 13.5.0 up to 14.x. We are investigating support for later versions.
68+
69+
</Callout>
70+
6571
Then run the following command to enter the root of your Next.js app.
6672

6773
```shellscript

0 commit comments

Comments
 (0)