Skip to content

ERROR TypeError: type is undefined when importing a component to pages #662

Open
@lebocow

Description

@lebocow

I've encountered a strange issue. When I import a component from lib/components to lib/pages using the @lib path, I get a TypeError: type is undefined error. However, if I import it classically like this: import { NavbarComponent } from '../../lib/components';, it works perfectly fine. Does anyone know why this is happening?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions