Svelte also includes shortcuts for styling, reactivity, animations, and templating. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules error? 500: is not a valid SSR component, https://svelte.dev/docs#Server-side_component_API, https://github.com/sveltejs/sapper-template#using-external-components,