-
Notifications
You must be signed in to change notification settings - Fork 808
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
Error importing react-modal #418
Comments
Yeah it seems like the code is not compiled correctly. |
Same for me. |
hmm, I thought |
Is this not because As importing the module is currently returning the source code and not the transpiled code. |
Sorry for the inconvenience. I just had to push forward to get See PR #417, @ajfuller is already working on this. Please, use Thank you all! |
Same issue, but work with |
Released |
Fix for me. Thank you @diasbruno ! |
@Leg3ndz Thank you. Also, a fix to removed all |
@diasbruno Yep, Thank you ;) |
Summary:
I tried to add react-modal to my project and I'm getting this error:
Steps to reproduce:
yarn add react-modal
import Modal from 'react-modal'
Expected behavior:
Modal should not cause an error when importing
Additional notes:
I tried deleting my node_modules folder and running
yarn
but that didn't seem to fix the issueThe text was updated successfully, but these errors were encountered: