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, currently no loader s are configured to process this fil #367

Open
kenpower opened this issue Mar 17, 2021 · 0 comments

Comments

@kenpower
Copy link

kenpower commented Mar 17, 2021

Tried the RNAB in the starter react native app

>npm i -g create-react-native-app
>create-react-native-app myRNapp
>cd myRNapp
// add **import ActionButton from '@kenetto/react-native-action-button'** to App,js
>expo start --web

I get the following error:

/repos/myRNapp/node_modules/@kenetto/react-native-action-b
utton/ActionButton.js 127:6
Module parse failed: Unexpected token (127:6)
You may need an appropriate loader to handle this file type, currently no loader
s are configured to process this file. See https://webpack.js.org/concepts#loade
rs
|
|     return (
>       <View
|         style={[
|           parentStyle,

I know this exact error was addressed in #149, and the answer was that the component only works in react-native. But we are still seeing this error in react native.

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