Open sclavijo93 opened 3 years ago
I'm using a library React Native Progress that uses this as a dependency and I'm getting an error:
Error: Requiring module "node_modules/@react-native-community/art/lib/Group.js", which threw an exception: TypeError: Cannot read property 'hex' of undefined. TypeError: Cannot read property 'hex' of undefined
this is the linked issue I've opened in that library: Cannot read 'hex' of undefined
react-native info output:
react-native info
System: OS: macOS 10.15.6 CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 181.57 MB / 16.00 GB Shell: 5.7.1 - /bin/zsh Binaries: Node: 14.6.0 - /usr/local/bin/node Yarn: 1.22.4 - /usr/local/bin/yarn npm: 6.14.6 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman Managers: CocoaPods: 1.9.3 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: iOS 13.7, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2 Android SDK: Not Found IDEs: Android Studio: 4.0 AI-193.6911.18.40.6626763 Xcode: 11.7/11E801a - /usr/bin/xcodebuild Languages: Java: 14.0.2 - /usr/bin/javac Python: 2.7.16 - /usr/bin/python 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
Library version: 4.1.2
<Progress.Bar progress={0.3} width={200} />
i have the same question
anything solution?
Use @1.1.0 instead. It work for me
Bug report
Summary
I'm using a library React Native Progress that uses this as a dependency and I'm getting an error:
this is the linked issue I've opened in that library: Cannot read 'hex' of undefined
Environment info
react-native info
output:Library version: 4.1.2
Steps to reproduce
<Progress.Bar progress={0.3} width={200} />