Skip to content

Playground import issue #1410

@jjagielka

Description

@jjagielka

Describe the bug

When I try to import flowbite-svelte to the playground environment, I'm receiving an import error.

There's no import problem if I use flowbite-svelte in any local project.

https://svelte.dev/playground/598dd47bf2cd4c728dfcae1573d893c6?version=5.35.4

Reproduction

Left Playground pane:

<script>
	import "flowbite-svelte";
	let name = 'world';
</script>

<h1>Hello {name}!</h1>

Right Playground pane:

Error compiling component

Could not find dist/theme/ in [email protected] (error occurred while trying to resolve . within npm://$/[email protected]/dist/theme/Theme.svelte)

Logs

System Info

On-line system

Severity

annoyance

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions