-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Something is not working with react-native-elements #1237
Comments
@ChuchoPV have you set up webpack and babel as described in the Getting Started guide? In order to have Two more things to note:
|
I just upgraded react native elements to v1.0.0 and I have started getting a very similar error. Did you find a solution it ? |
@ChuchoPV and @devals9, this is an error introduced in react-native-elements v1.0.0, it will be fixed in the next version. You can update to the npm install git://github.com/react-native-training/react-native-elements#next or you can find the |
I tried to install Babel and other dependencies but it doesn't still working. |
I tried to install the next branch it removed, that solved my normalize error but started giving some other errors about @babel/plugin-proposal-class-properties. I did that too but it didn't really help. |
Hi @devals9, check which modules are causing the error. React Native Elements v1.0.0 now requires some extra packages and you may have to include these in your webpack config, eg: path.resolve('node_modules/react-native-elements'),
path.resolve('node_modules/react-native-ratings'),
path.resolve('node_modules/react-native-status-bar-height'),
path.resolve('node_modules/react-native-vector-icons'), In any case, @ChuchoPV is correct, this is a |
Same situation. It's a problem of react-native-element |
It does appear to be a problem related to bundling react-native-elements on web. Hopefully they will have a fix |
I don't know if the problem is in react-native-web or react-native-elements or even me.
But I install react native and also react native elements and everything is fine until I tried to use the Button element importing it like this:
import { Button } from 'react-native-elements';
but the problem that I have is the following:
I have another project working with react-native and react-native-elements but not react-native-web and works fine. If anyone could help it would be perfect.
I give my package.json:
The text was updated successfully, but these errors were encountered: