-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
Build failed #6166
Comments
|
https://vitejs.dev/guide/#scaffolding-your-first-vite-project But the documentation is outdated. Thanks. |
it's not incorrect. vite itself does require v12+ |
But could be that vite supports |
It looks like optional chaining is only supported in node 14, so 12.20 likely won't work too. I'm with @Niputi here, Vite itself requires v12+, vue-tsc requires v14+. So the end user would need node 14 for it to work. I think we can update the documentation though to clear up that the templates may requires node 14 and above. |
Describe the bug
I installed according to the example on the official website, and there was an error when packaging.
Reproduction
clone this repo
https:/semyin/vite-build-error
run
System Info
The text was updated successfully, but these errors were encountered: