-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Astro 2.0 Node Version Check Issue #5967
Comments
Pinging @bluwy in case he has any ideas. I haven't been able to reproduce this personally. |
Line 26 in a8d3e79
It's possible 'semver' isn't installed/properly and is throwing a module not found, the catch does not handle this and always says it is a version of node that doesn't work, that's the only way I was able to reproduce this |
I also experienced issue this when trying to upgrade to Astro 2.0. Node.js v16.18.0 is not supported by Astro!
Please upgrade Node.js to a supported version: ">=16.12.0" I was able to reproduce it with this {
"name": "@example/basics",
"type": "module",
"version": "0.0.1",
"private": true,
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"
},
"dependencies": {
"@commitlint/cli": "^16.3.0",
"astro": "^2.0.0"
}
} It might be some sort of dependency conflict? Updating |
Still happening to me actually, with |
@netanel-haber does it happen with npm? Perhaps they are stale deps lingering. It works for me with that Node version |
Tried with pnpm and yarn after deleting node_modules |
What version of
astro
are you using?2.0.0
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
yarn
What operating system are you using?
Mac / Linux
Describe the Bug
Getting the following errors:
Locally
On Cloudflare pages
Link to Minimal Reproducible Example
N/A
Participation
The text was updated successfully, but these errors were encountered: