Skip to content

Issue on Safari : Promise Rejection: ReferenceError: Cannot access uninitialized variable. #137

@cge-taal

Description

@cge-taal

Hi,

Thank you for the nice library. Sadly, it seems there is an issue on Safari.

Please refer to

The example repository above is to illustrate the problem via a small reproducible example. However, in a rather big code base, libauth is the only dependency which is having issues in Safari, failing with Promise Rejection: ReferenceError: Cannot access uninitialized variable..

Therefore I imagine it has to do with how libauth is packaged, and not something intrinsic to vite / sveltekit.

Would appreciate it if you could take a look.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions