-
Notifications
You must be signed in to change notification settings - Fork 69
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
Error: You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. #331
Comments
Looks like your webpack config is not set up to handle optional chaining. You could add this dependency to the includes section of your webpack config. That will likely resolve the issue. |
I think you're right, but I can't seem to find a tutorial on how to install webpack for React Native, and adding optional chaining plugin to Babel didn't make any difference. Can you please link me some easy to understand tutorial for webpack installation? |
@Moodax This babel config works for my use cases.
|
@Moodax I'm going to close this because it's not a problem with this library and can be resolved via babel. |
Same issue here... and babel config does not work |
When trying to implement your component, I get this error:
./node_modules/@miblanchard/react-native-slider/lib/index.js 53:22
Module parse failed: Unexpected token (53: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
| }
| if (Array.isArray(values) && Array.isArray(newValues)) {
| let valueToSet = newValues[index];
| if (value instanceof Animated.Value) {
I used the same implementation as shown in example.
The text was updated successfully, but these errors were encountered: