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

7.0.11 compiler error: "export 'default' (reexported as 'spring') was not found in 'flip-toolkit'" #125

Closed
mikehobi opened this issue Jun 11, 2020 · 2 comments

Comments

@mikehobi
Copy link

mikehobi commented Jun 11, 2020

Hello,

I noticed this on a project when updating my packages. And decided to test on a fresh create-react-app.

Any import from "react-flip-toolkit" will cause this error:

image

Failed to compile

./node_modules/react-flip-tooliit/lib/index.es.js
"export 'default' (reexported as 'spring') was not found in 'flip-toolkit'

@mikehobi mikehobi changed the title 7.0.11 compile error on fresh create-react-app 7.0.11 compiler error: "export 'default' (reexported as 'spring') was not found in 'flip-toolkit' Jun 11, 2020
@mikehobi mikehobi changed the title 7.0.11 compiler error: "export 'default' (reexported as 'spring') was not found in 'flip-toolkit' 7.0.11 compiler error: "export 'default' (reexported as 'spring') was not found in 'flip-toolkit'" Jun 11, 2020
@aholachek
Copy link
Owner

Thank you for catching this! I did a small refactor today and somehow missed the incorrect export in this file (which I've since fixed): https://github.com/aholachek/react-flip-toolkit/blob/master/packages/react-flip-toolkit/src/Spring/index.ts.

I just released 7.0.12 which should be ok, please let me know if you still have any problems.

@mikehobi
Copy link
Author

That fixed it! Thank you for fixing so quick, this project is great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants