Skip to content

Uncaught TypeError: L.Application is not a constructor #65

@mr-akashdesai

Description

@mr-akashdesai

Hi, I'm having some issues rendering my spline onto my project. It all looks fine on the CodeSanbox link provided but when using it within my own app, there seems to be an issue. I am using React w/ Typescript and webpack. Here is the component:

image

Whenever I try to render the component, a TypeError is thrown regarding L.Application is not a constructor:

image

I'm not really sure what the error means but it was addressing a ForwardRef component so it could potentially be something around the ForwardRefExocticComponent as shown below

image

Please let me know if you have any ideas. Thanks 🙂

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