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

You may need an appropriate loader to handle this file type #631

Open
Sharathnasa opened this issue Jan 4, 2020 · 0 comments
Open

You may need an appropriate loader to handle this file type #631

Sharathnasa opened this issue Jan 4, 2020 · 0 comments

Comments

@Sharathnasa
Copy link

Hi Team,

I'm using this repo to even run react-native-web. When i try to run, i'm getting the below mentioned error. After searching for the solution, few suggested to add some code to the webpack.config, so that browser can understand.

I think Toast might not be available for browser due to which it's failing. Can you please help me with the issue.

/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,

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

1 participant