binggg / mrn

Material React Native (MRN) - A Material Design style React Native component library.
http://mrn.js.org
1.73k stars 109 forks source link

Error on install/setup #11

Closed Ehesp closed 8 years ago

Ehesp commented 8 years ago

With a fresh install, I get the following error when following the instructions to install.

image

Using the latest version of the react-native cli tool.

I also get the logs:

W/ReactNativeJS( 1965): 'Warning: Native component for "RCTModalHostView" does not exist' W/ReactNativeJS( 1965): 'ProgressBarAndroid has no propType for native prop AndroidProgressBar.indeterminate of native type boolean'

binggg commented 8 years ago

Sorry, React Native 0.16.0-rc isn't supporting for now.

andycaramba commented 8 years ago

Hi. I have the same issue on React Native v0.13.2. After I've created new React Native project all works fine, but when I've modified code according to instructions in MRN Installation Manual (without any other modifications in index.android.js and so on), I got this error.

binggg commented 8 years ago

@andycaramba Thank you for your reporting. I will check later

binggg commented 8 years ago

@Ehesp
1.Warning: Native component for "RCTModalHostView" does not exist See http://facebook.github.io/react-native/docs/known-issues.html#views

andycaramba commented 8 years ago

I've found the solution. In MRN Installation Manual command npm install react-native-vector-icons --save installs react-native-vector-icons v1.0.0 that has some changes in its installation instruction. Particularly folder name android/app/src/main/assets/fonts must be in lowercase. Installing react-native-vector-icons v0.8.5 or following updated instructions solves the issue.

binggg commented 8 years ago

@andycaramba Good job! Thanks. Let me update the manual.

Ehesp commented 8 years ago

Changing the Fonts directory to fonts worked for me :) also downgraded to 0.15.* and it's back working. Thanks for the help @andycaramba

christopherdro commented 8 years ago

This is fixed in the stable release of 0.16.