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 flowbite-svelte@1.8.6 (error occurred while trying to resolve . within npm://$/flowbite-svelte@1.8.6/dist/theme/Theme.svelte)

Logs

System Info

On-line system

Severity

annoyance

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