fangwei716 / 30-days-of-react-native

30 days of React Native demos
6.82k stars 1.46k forks source link

ios运行后出错 #48

Open baiyuxiong opened 7 years ago

baiyuxiong commented 7 years ago
undefined is not an object (evaluating 'ViewPropTypes.style')

<unknown>
    DefaultTabBar.js:20
loadModuleImplementation
    require.js:171
<unknown>
    index.js:20
loadModuleImplementation
    require.js:171
<unknown>
    day3.js:11
loadModuleImplementation
    require.js:171
<unknown>
    index.ios.js:15
loadModuleImplementation
    require.js:171
guardedLoadModule
    require.js:116
global code
    require-0.js:1
JusterKinbo commented 7 years ago

that may caused by different version of node ,so you need to update the code by yourself changing ViewPropTypes into View.propTypes

neroAJ-Zhang commented 7 years ago

@JusterKinbo What is the specific operation? Please explain? I am a beginner

boothlee commented 7 years ago

I have the same problem,help

zjj128 commented 7 years ago

I have the same problem

Hu-liang commented 7 years ago

same problem , help

zeew commented 7 years ago

I have the same problem,help

itgoyo commented 6 years ago

find node_modules/react-native-scrollable-tab-view,all xxx.js change ViewPropTypes.style to View.propTypes.style,it works for me.