vitalets / react-native-extended-stylesheet

Extended StyleSheets for React Native
MIT License
2.93k stars 132 forks source link

Styles are not being applied when I try to use EStylesheet #141

Closed ildaneta closed 4 years ago

ildaneta commented 4 years ago

Steps to reproduce

  1. I downloaded the lib using yarn
  2. I tried to use it in a project in the Windows environment
  3. When using EStylesheet, the style is not applied, it only applies when using react-native's native styleSheet

Expected behavior

I would like the style to be applied with EStylesheet

Real behavior

The style is only applied when using the native StyleSheet

Show the code

If possible, show the code where the style sheets are created, built and used. ->

Environment

    OS: Windows 10 10.0.18362
    CPU: (8) x64 Intel (R) Core (TM) i5-8265U CPU @ 1.60GHz
    Memory: 1.17 GB / 7.87 GB
  Binaries:
    Node: 12.17.0 - ~ \ AppData \ Local \ Temp \ yarn - 1596141873663-0.8172388961824426 \ node.CMD
    Yarn: 1.22.4 - ~ \ AppData \ Local \ Temp \ yarn - 1596141873663-0.8172388961824426 \ yarn.CMD
    npm: 6.14.4 - C: \ Program Files \ nodejs \ npm.CMD
    Watchman: Not Found
  SDKs:
    Android SDK:
      API Levels: 23, 26, 27, 28, 29, 30
      Build Tools: 28.0.3, 29.0.2, 30.0.0
      System Images: android-28 | Google Play Intel x86 Atom, android-28 | Google Play Intel x86 Atom_64, android-29 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: Version 4.0.0.0 AI-193.6911.18.40.6514223
  Languages:
    Java: 1.8.0_211
    Python: 2.7.18
  npmPackages:
    @ react-native-community / cli: Not Found
    react: 16.13.1 => 16.13.1
    react-native: 0.63.0 => 0.63.0
  npmGlobalPackages:
    * react-native *: Not Found 

Video

ildaneta commented 4 years ago

The error occurred due to not placing the build at the root of the application.