-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
failed to load config from vite.config.js #59
Comments
unfortunately the lastest breaking change in vite-plugin-svelte required an update to vites template. that was merged but not released see this PR on how to update your project locally |
import { svelte } from '@sveltejs/vite-plugin-svelte'; Works well, thanks |
FYI, @vitejs/create-app v2.4.3 was just released including vitejs/vite#3760 |
check your node version, it must be greater than v14. |
I have node v16.17.1 but am still getting this error. I noticed @lapwat posted "import { svelte } from '@sveltejs/vite-plugin-svelte';" as a solution of some kind but even after looking at the links provided I'm not sure where to put this or what to do next. It seems strange that I'm getting this error in an out of the box Laravel 9 install with everything up to date. |
See https://github.com/sveltejs/vite-plugin-svelte#usage Please note that this issue was raised a long time ago. Make sure you use the latest version of vite-plugin-svelte. |
you can put that in your vite.config.js |
I have this issue because a try to setup a monorepo, but i don't pay attention a don't o have the same node version to my root package.json and in one of my package/workspace. Pay attention to the versions of node you are using |
Description
Failed to load config when building.
Reproduction
yarn create @vitejs/app failed-to-load-config --template svelte-ts cd failed-to-load-config yarn yarn dev
Error:
The text was updated successfully, but these errors were encountered: