Skip to content

"SyntaxError: ambiguous indirect export" when importing any icons or colors #203

@nstgeorge

Description

@nstgeorge

When I try to import any icon or color from react-simple-icons, I get the following error:

Uncaught SyntaxError: ambiguous indirect export: SiApple

(Or whatever I'm trying to import, of course). No stack trace is provided, just the line number in my code where I import the module.

This is a new issue after upgrading from 6.x to 9.x. The indirect export mention leads me to think that this is related to the indirect exports in the index.ts, possibly something to do with the naming being updated between these versions?

I'm using React 18 with Vite 4.0.4. Let me know if there's any other info I can provide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions