Skip to content

Playground: Better error messages for special SvelteKit modules. #1373

Open
@brunnerh

Description

@brunnerh

If you directly or indirectly import $app/... in the playground, you get an unhelpful error message like:

Error compiling component
Failed to import $app@latest. Are you sure the package exists?

Maybe there could be some filter for these SvelteKit modules to output a more helpful message as suggested by @frederikhors in:

(The main issue is probably that this filter could easily go out of sync with the current implementation when new modules are added.)

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