-
-
Notifications
You must be signed in to change notification settings - Fork 324
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: Unexpected token on Toast static propTypes #190
Comments
Same Problem here. Can anyone help? |
Kindly provide a reproducible example so I could look into it... |
The Error occurs when I try to run the app in any way via |
I don't think this is an issue with Galio, it because of your babel loader config and/or webpack if you are using it. Try clearing your bundler cache and make sure your babel.config.js or web pack.config.js if any is using the appropriate config rules. |
I am facing the same issue when trying to build for web using expo |
Same, fixed this by updating app.json and including the following in the expo section: |
@RichardTheHouse Thanks, I figured that out, unfortunately I am getting error with almost all of my dependencies... |
same problem after installing galio-framework on existing app |
Any Updates on this issue? |
Getting error on Toast static propTypes
`
/node_modules/galio-framework/src/Toast.js 11:19
Module parse failed: Unexpected token (11:19)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|
| class Toast extends Component {
The text was updated successfully, but these errors were encountered: