feat(create-medusa-app, medusa): check Node.js version before installation. (#8452)

Check before installation with `create-medusa-app` and `medusa new` whether the current node version is >= 20. If not, exit with an error.
This commit is contained in:
Shahed Nasser
2024-08-06 07:15:17 +00:00
committed by GitHub
parent 413e29837c
commit 98f42e8995
6 changed files with 24 additions and 1 deletions
+1
View File
@@ -15470,6 +15470,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "create-medusa-app@workspace:packages/cli/create-medusa-app"
dependencies:
"@medusajs/utils": ^1.11.9
"@types/chalk": ^2.2.0
"@types/commander": ^2.12.2
"@types/configstore": ^6.0.0