Skip to content

Commit

Permalink
fix(withastro#3071): update supported node versions (withastro#3871)
Browse files Browse the repository at this point in the history
Co-authored-by: Nate Moore <nate@astro.build>
  • Loading branch information
natemoo-re and natemoo-re committed Jul 11, 2022
1 parent c5b6423 commit ba983ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion astro.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async function main() {
// it's okay to hard-code the valid Node versions here since they will not change over time.
if (typeof require === 'undefined') {
console.error(`\nNode.js v${version} is not supported by Astro!
Please upgrade to a version of Node.js with complete ESM support: "^14.15.0 || >=16.0.0"\n`);
Please upgrade to a version of Node.js with complete ESM support: "^14.20.0 || >=16.16.0"\n`);
}

// Not supported: Report the most helpful error message possible.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
"srcset-parse": "^1.1.0"
},
"engines": {
"node": "^14.15.0 || >=16.0.0",
"node": "^14.20.0 || >=16.16.0",
"npm": ">=6.14.0"
}
}

0 comments on commit ba983ff

Please sign in to comment.