-
Notifications
You must be signed in to change notification settings - Fork 24.1k
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
undefined is not an object(evaluating 'ViewPropTypes.style') #14032
Comments
Facing the same issue, how did you end up solving it. Stuck with it for quite some time now. |
Sorry, this is not related to |
I have this issue and I do not use expo nor do I see any expo dependencies. I am using Native Base and a few other libraries. Everything was running fine and then I tried to update a library and now I get this error. I reverted and even did a full git checkout of the repo before the attempted upgrade and now I get this anytime I try to run the application. |
@kevineaton same problem with me did u found any solution? |
@77ukhtar Check out react-navigation/react-navigation#1352 , seems to have a (temporary) workaround from @chenyi5266 . The fixes haven't been merged yet into master ( https://github.com/react-native-training/react-native-elements/pull/384 ) I personally have not seen this on Windows w/building for Android (latest Android Studio & updates) but I have seen this on Mac for iOS (latest updates) |
@virgil9306 thanks, i will just not use nativebase on this project till it fixed |
having the same problem after pulling project from git with android on both Windows & ubuntu 14.04. Can anyone provide any working solution? |
still no solution to this? I am desperate about finding about this bug :/ |
@kevineaton I solved the error by updating native-base from 2.1.2 to 2.1.4 and react-native from 0.43.4 to 0.44.0 |
@77ukhtar you are the true hero here! works for me! |
Hi @kevineaton @77ukhtar I updated native-base from 2.1.2 to 2.1.4 and react-native from 0.43.4 to 0.44.0. But then I'm getting an error: DeviceInfo native module is not installed correctly...Help please? Thanks |
Update React-Native to 0.44.0 in package.json
|
Okay @shadman264. Let me try this real quick. Thanks |
Yes! @shadman264 your solution works! Thanks!!! |
I'm getting this problem but on react-native 0.42.3. I don't have the option of upgrading react-native because then a bunch of other libraries break due to the react peer dependency upgrade. Hoping for other ideas |
Greetings and it's working fine |
Same as suark, I'm using react-native-maps. Can't upgrade. |
@shadman264 Thanks for the tip, you're a life saver 👍 |
I have had the same problem |
我只是拉一个分支,开发新项目,分支是没问题,要怎么解决 |
So i had the same problem. it's quite newbie problem in fact. |
for those that have same issue after install this package try this. in file in line 63 replace : it fix my issue :) |
I am a newer for RN. This problem has bothered me a few days. |
I was having the same issue. So I updated the RN and change from |
I only had to update RN from 0.43.4 to 0.44.0. |
i have the same issue somebody knows how to solve? |
@gitarre94 depends on your RN version. ~ >0.45 you must use ViewPropStyles.style - even in third party packages. You'll have to go through and upgrade or fork to remove all references to |
for those who are still unable to figure out, try following import ViewPropTypes from 'react-native' and then replace |
Description
When i clone a project from git, after 'npm install' react-native run-ios,the error coming.But others in team can run success.
Reproduction Steps and Sample Code
Additional Information
The text was updated successfully, but these errors were encountered: