Comments (4)
Your reproduction does not reproduce the error.
If I open your reproduction, the following error happens.
TypeError: App is not a constructor
If I fix that with https://svelte-5-preview.vercel.app/docs/breaking-changes#components-are-no-longer-classes, no error happens. A blank page will be shown, but that's just because App.svelte
is empty.
I guess it's a bug in Svelte itself or vite-plugin-svelte and not a bug in Vite though, if it's a bug.
from vite.
Hello @Aurumaker72. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with needs reproduction
will be closed if they have no activity within 3 days.
from vite.
Fresh-cloning the repro and running it produces the stated error.
Are there any variables I am not accounting for, because this stumps me.
from vite.
As for the recommended fix: it does indeed resolve the issue. The variance of the error isn't worth looking into.
Thank you for the quick response.
from vite.
Related Issues (20)
- enhance manifest configuration HOT 1
- Support lightningcss "resolver" option HOT 3
- HMR path is not used for serving assets HOT 3
- The link to the SSR example of the document is broken HOT 1
- Fail to load a dependency with # in the filename HOT 2
- Backend integration guide: preloading dynamic entry points? HOT 4
- base config should work on manifest HOT 6
- `ViteHotContext` type should be customizable HOT 11
- Deprecated Sass not allowing modern packaged imports HOT 4
- Allow aliases in node_modules to be processed by vite plugins HOT 3
- Filed to resolve import in worker file HOT 1
- Error: The following dependencies are imported but could not be resolved HOT 1
- vite build failed with @icr/polyseg-wasm
- Support javascript decorators
- [plugin:vite:esbuild] [plugin vite:esbuild] src/Element.jsx: Duplicate key "src" in object literal HOT 6
- Build failure with SCSS files in Vite 5: "The 'path' argument must be of type string. Received undefined" HOT 4
- Feature Readme translated into Brazilian Portuguese and other languages HOT 1
- Virtual module null char is not removed by wrapId HOT 3
- et::ERR_ABORTED 504 (Outdated Optimize Dep) in localhost HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vite.