Skip to content

[branch: major-refactor] SSR error with SvelteKit's standard dev-mode #48

@vatro

Description

@vatro

Branch: major-refactor
Project's current setup isn't properly configured for SvelteKit's standard SSR dev-mode.

Running dev in a fresh SvelteKit + svelthree app throws an error: <Scene> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules

See also: #47 (comment)

👉 However, if the app is built, everything's ok, no errors.

Fixing this probably involves changes to both svelthree and SvelteKit-App project setup / configuration.

TODO:
Tweak svelthree project setup (package.json, vite.config.js) as well as the SvelteKit-App configuration (svelte.config.js), so that the standard SvelteKit-App dev-mode (SSR) works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingproject setupgeneral project setup issuessr

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions