gabrieldonadel / rn-material-ui-textfield

Material UI textfield
https://www.npmjs.com/package/rn-material-ui-textfield
Other
37 stars 31 forks source link

Error: "no loaders are configured to process this file." #38

Open gordonmaloney opened 3 years ago

gordonmaloney commented 3 years ago

Hi friends, I am getting this error when I try to incorporate this:

Failed to compile.
C:/.../node_modules/rn-material-ui-textfield/src/components/field/index.js 31:22Module parse failed: Unexpected token (31:22)
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
| 
| export default class TextField extends PureComponent {
>   static defaultProps = {
|     underlineColorAndroid: 'transparent',
|     disableFullscreenUI: true,

Is it that I'm missing a dependency or something like that? I've tried looking at the file but I can't spot anything at all that could be causing it

gabrieldonadel commented 2 years ago

Hi @gordonmaloney do you mind giving some more datails about your project? Which react-native version are you using?