Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nstgeorge opened this issue Nov 22, 2023 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@nstgeorge
Copy link

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.

@wootsbot
Copy link
Member

wootsbot commented Dec 8, 2023

@nstgeorge help me with an example of how I'm trying to import, if I had a live demo it would be much better.

@wootsbot wootsbot added the help wanted Extra attention is needed label Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants