Giter Club home page Giter Club logo

Comments (9)

MariusStuparu avatar MariusStuparu commented on June 16, 2024 83

There was a breaking change introduced in Svelte sveltejs/svelte#5665

The fix is to update rollup-plugin-svelte to version 6.1.1

...
"rollup-plugin-svelte": "~6.1.1",

Couldn't create a fix branch on the repo, please update yourself.

from generator-svelte.

jeffRTC avatar jeffRTC commented on June 16, 2024 3

Goddamn. The whole ecosystem is rigged, rigged and should follow Windows Philosophy of backwards compatibility.

It's been a year since I wrote my app and it already broken.

WTF with X-Gen!!!!!

from generator-svelte.

elimisteve avatar elimisteve commented on June 16, 2024 1

FYI I didn't run into this with Node 10.x (10.23, specifically), but just upgraded to Node 12.x (12.20.0) then suddenly did.

from generator-svelte.

Samuel-Martineau avatar Samuel-Martineau commented on June 16, 2024

Thanks for your help! I’m fixing the template

from generator-svelte.

Samuel-Martineau avatar Samuel-Martineau commented on June 16, 2024

It should be fixed right now as all the tests pass. You should upgrade to [email protected].

Thanks for using generator-svelte!

from generator-svelte.

Samuel-Martineau avatar Samuel-Martineau commented on June 16, 2024

But does it work now with node 12?

from generator-svelte.

elimisteve avatar elimisteve commented on June 16, 2024

Yes, the above fix worked (upgrading to 6.1.1), I'm just adding that I didn't get the "Package subpath" error at all when using Node 10.

from generator-svelte.

sutin1234 avatar sutin1234 commented on June 16, 2024

work for me
#7 (comment)

from generator-svelte.

arb1ona avatar arb1ona commented on June 16, 2024

There was a breaking change introduced in Svelte sveltejs/svelte#5665

The fix is to update rollup-plugin-svelte to version 6.1.1

...
"rollup-plugin-svelte": "~6.1.1",

Couldn't create a fix branch on the repo, please update yourself.

Thank youu! It worked <3

from generator-svelte.

Related Issues (6)

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.