diff --git a/.changeset/eleven-zebras-care.md b/.changeset/eleven-zebras-care.md new file mode 100644 index 0000000000..13f121bd12 --- /dev/null +++ b/.changeset/eleven-zebras-care.md @@ -0,0 +1,5 @@ +--- +'astro': minor +--- + +Set the minimum Node version in the engines field diff --git a/package.json b/package.json index d2535653a5..fbe3c8067c 100644 --- a/package.json +++ b/package.json @@ -49,5 +49,8 @@ "tiny-glob": "^0.2.8", "typescript": "^4.2.4", "uvu": "^0.5.1" + }, + "engines": { + "node": ">=14.16.1" } } diff --git a/packages/astro/README.md b/packages/astro/README.md index 4480b4844e..f2a119306b 100644 --- a/packages/astro/README.md +++ b/packages/astro/README.md @@ -10,6 +10,8 @@ With Astro, you can use your favorite JavaScript framework and automatically shi ## 🔧 Quick Start +> __Important__: Astro is built with [ESM modules](https://nodejs.org/api/esm.html) which are not supported in older version of Node.js. The minimum supported version is __14.16.1__. + ```bash # create your project mkdir new-project-directory