Skip to content

[svelte-preprocess] Encountered type error #1

@lnfel

Description

@lnfel

Encountered an error with freshly cloned repo, the stackblitz link also has an error when running pnpm dev.

Steps to reproduce:

  1. Clone the repo
  2. pnpm i
  3. pnpm dev
  4. "[svelte-preprocess] Encountered type error" appears

I assume this is due to changes that happened with svelte.

Tried creating from fresh sveltekit project using svelte 5. Everything works except that the auto-animate is not working as expected. The animating element casually translates from top left corner of the screen to the center which is jarring, this might be due to reveal.js using FLIP animation and the calculations might be off. Drown grading reveal.js from version 5 to 4 also shows similar results. I'll just leave this in case somebody digs right here. Update for the animation issue: Tailwind 4.0 is the culprit. The animation worked great without tailwind 4.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions