docs: added node.js required version for next.js storefront (#3758)

* docs: added node.js required version for next.js storefront

* changed required version of node across docs

* small fix
This commit is contained in:
Shahed Nasser
2023-04-07 09:24:13 +03:00
committed by GitHub
parent f04f5c3498
commit 8c8334203e
5 changed files with 14 additions and 4 deletions

View File

@@ -34,7 +34,9 @@ As the admin dashboard is a plugin installed on the Medusa Backend, you must hav
### Node.js
The Admin uses [Vite v4.1.4](https://vitejs.dev/guide/#scaffolding-your-first-vite-project) which requires v14.8+ or v16+ of Node.js. You can check which version of Node you have by running the following command:
The Admin uses [Vite v4.1.4](https://vitejs.dev/guide/#scaffolding-your-first-vite-project) which requires v14.8+ or v16+ of Node.js, and as Medusa requires v16 or greater it's recommended you use v16+ of Node.js.
You can check which version of Node you have by running the following command:
```bash noReport
node -v

View File

@@ -29,7 +29,7 @@ If you only want to set up a Medusa backend, follow [this quickstart guide](./de
### Node.js
Medusa supports Node versions 14 and 16. You can check which version of Node you have by running the following command:
Medusa supports Node v16+. You can check which version of Node you have by running the following command:
```bash noReport
node -v

View File

@@ -13,7 +13,7 @@ This document will guide you through setting up your Medusa backend in a three s
### Node.js
Medusa supports Node versions 14 and 16. You can check which version of Node you have by running the following command:
Medusa supports Node v16 or greater. You can check which version of Node you have by running the following command:
```bash noReport
node -v

View File

@@ -20,7 +20,7 @@ Node.js is the environment that makes it possible for Medusa to run, so you must
:::caution
Medusa supports versions 14 and 16 of Node.js. You can check your Node.js version using the following command:
Medusa supports v16 or greater of Node.js. You can check your Node.js version using the following command:
```bash noReport
node -v

View File

@@ -41,6 +41,14 @@ Instead of manually following this guide to install then later deploy the Next.j
This document assumes you already have a Medusa backend installed. If you dont, please follow the [Quickstart guide for the Medusa backend](../development/backend/install.mdx) to learn how to do it.
You should also have Node.js with v16 or greater installed. You can check your Node.js version with the following command:
```bash noReport
node -v
```
You can install Node from the [official website](https://nodejs.org/en/).
---
## Installation