docs: document incompatibility for Next.js storefront + Node v25 (#14538)
This commit is contained in:
@@ -2,6 +2,7 @@ import { DetailsList, Prerequisites } from "docs-ui"
|
||||
import CmaOptionTroubleshooting from "../troubleshooting/_sections/nextjs/cma-option.mdx"
|
||||
import CorsErrorTroubleshooting from "../troubleshooting/_sections/other/cors-errors.mdx"
|
||||
import ModuleXErrorTroubleshooting from "../troubleshooting/_sections/common-installation-errors/module-x-error.mdx"
|
||||
import Node25Troubleshooting from "../troubleshooting/_sections/create-medusa-app-errors/nextjs-node-25.mdx"
|
||||
|
||||
export const metadata = {
|
||||
title: `Next.js Starter Storefront`,
|
||||
@@ -25,7 +26,7 @@ This guide helps technical users set up the Next.js Start storefront. If you're
|
||||
|
||||
<Prerequisites items={[
|
||||
{
|
||||
text: "Node.js v20+",
|
||||
text: "Node.js v20+ LTS, less than v25",
|
||||
link: "https://nodejs.org/en/download"
|
||||
},
|
||||
{
|
||||
@@ -54,7 +55,7 @@ For other information related to the Medusa application's installation, refer to
|
||||
|
||||
<Prerequisites items={[
|
||||
{
|
||||
text: "Node.js v20+",
|
||||
text: "Node.js v20+ LTS, less than v25",
|
||||
link: "https://nodejs.org/en/download"
|
||||
},
|
||||
{
|
||||
@@ -113,6 +114,10 @@ Your Next.js Starter storefront is now running at `http://localhost:8000`.
|
||||
{
|
||||
title: `Resolve "Cannot find module X" Errors`,
|
||||
content: <ModuleXErrorTroubleshooting />
|
||||
},
|
||||
{
|
||||
title: `Issues when installing with Node v25+`,
|
||||
content: <Node25Troubleshooting />
|
||||
}
|
||||
]}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user