Code Monkey home page Code Monkey logo

Comments (8)

brunnerh avatar brunnerh commented on July 2, 2024 1

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.

Conduitry avatar Conduitry commented on July 2, 2024

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.

JLAcostaEC avatar JLAcostaEC commented on July 2, 2024

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.

Conduitry avatar Conduitry commented on July 2, 2024

If you can't reproduce it in the REPL, a repository to clone that's a minimal reproduction will also work.

from svelte.

JLAcostaEC avatar JLAcostaEC commented on July 2, 2024

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.

JLAcostaEC avatar JLAcostaEC commented on July 2, 2024

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.

JLAcostaEC avatar JLAcostaEC commented on July 2, 2024

Hi @Conduitry have you been able to verify this issue? Or do you need something else I can contribute?

from svelte.

dummdidumm avatar dummdidumm commented on July 2, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.