Comments (8)
Regarding the error, see this issue:
The fix is implemented and deployed to the REPL but has not been published in @next
it seems.
from svelte.
Can you provide an actual complete reproduction in the REPL please? When I try to compile that component, I'm getting a compile-time error from Svelte (not an error from Rollup) about client = value
being invalid because you are assigning to derived state.
from svelte.
Hi @Conduitry
I already tried the RELP before, and it does mark it as an error. Basically this happens on local projects, maybe a linter or TS conflict? I don't know.
Can you try with a demo project using TS?
I have all extensions installed and updated. Yesterday I wrote to the discord server requesting that someone try to compile the example to avoid opening an issue here, but there was no one to help me.
from svelte.
If you can't reproduce it in the REPL, a repository to clone that's a minimal reproduction will also work.
from svelte.
If you can't reproduce it in the REPL, a repository to clone that's a minimal reproduction will also work.
Sorry for waiting,
I was just creating the repositories and wanted to try using version 114, but now I'm getting the following error:
Error when evaluating SSR module /src/routes/+page.svelte: failed to import "/src/lib/store.svelte.ts"
|- TypeError: Cannot read properties of undefined (reading 'runes')
I have not changed anything in the code, I have only updated to v114
I have blocked the version at 113 to make the repositories.
Repos:
https://github.com/JLAcostaEC/runes-ts
https://github.com/JLAcostaEC/runes-js
Just clone it and run/build it. Dev mode works, build no.
from svelte.
Regarding the error, see this issue:
The fix is implemented and deployed to the REPL but has not been published in
@next
it seems.
Maybe we need another issue for that... 🤔
from svelte.
Hi @Conduitry have you been able to verify this issue? Or do you need something else I can contribute?
from svelte.
Checked out the repo using the latest version - it now correctly reports that you cannot reassign to $derived
in both build and dev.
from svelte.
Related Issues (20)
- [Svelte 5] Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'nodeType') HOT 2
- Svelte 5: SSR Errors are not specific enough & can't be disabled HOT 3
- Svelte 5.0.0-next.142 regression HOT 1
- duplicate component issue is caused by using the fade transition. HOT 2
- Svelte 5 exports in rune mode to expose variables for programmatic use (for instance updates) HOT 3
- Svelte 5: Incorrect IfBlock Start Position in Modern Mode Parsing HOT 4
- Svelte 5: Maximum update depth exceeded. (effect_update_depth_exceeded) HOT 14
- hydrate and mount error out in browser, saying 'hydrate(...)' is not available on the server HOT 4
- Add setter to let variables accessors HOT 3
- Svelte 5: cannot bind to a `<svelte:component/>` element HOT 2
- Svelte 5: Flickering CSS transitions/animations starting in `next-144` HOT 1
- Svelte 5: Imported component applied global style HOT 2
- Svelte 5: Invalid namespace of elements within SVG HOT 5
- `render` function from `svelte/server` not properly typed
- preventDefault not working HOT 1
- Svelte 5: Can not reassign $derived variable HOT 8
- false positive a11y warning for label with control inside component HOT 6
- Uneasy bouncing in `transition:slide` HOT 12
- bug: getting $Ci not a constructor for imports of svg , png in static builds HOT 2
- SSR code regression between 152 and 153
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 svelte.