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

Run in Web Browser (Module parse failed: Unexpected token (11:19)) #4

Open
triloconinja opened this issue Feb 29, 2020 · 2 comments
Open

Comments

@triloconinja
Copy link

web Failed to compile.
/Users/companyName/now-ui-pro-react-native-v1.0.0/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 {

static propTypes = {
| children: PropTypes.node.isRequired,
| isShow: PropTypes.bool.isRequired,

@yogesh-dalvi
Copy link

Hi @triloconinja

Thank you for reaching out! This is a problem with Galio because it doesn't support React Native Web. Galio is the main UI library we're using for this project. We can't really solve this until Galio doesn't get an update regarding the React Native on Web issue.

Thanks

@soorajhealthplotter
Copy link

I am also facing same issue.how cal i run on web browser

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

3 participants