Skip to content

You may need an appropriate loader to handle this file type, currently no loader s are configured to process this fil #367

Open
@kenpower

Description

@kenpower

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions