Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Cannot read 'hex' of undefined #71

Open
sclavijo93 opened this issue Sep 23, 2020 · 3 comments
Open

Cannot read 'hex' of undefined #71

sclavijo93 opened this issue Sep 23, 2020 · 3 comments

Comments

@sclavijo93
Copy link

Bug report

Summary

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

Environment info

react-native info output:

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

Steps to reproduce

  1. import * as Progress from 'react-native-progress';
  2. copy and paste this snippet: <Progress.Bar progress={0.3} width={200} />
@charsea
Copy link

charsea commented Oct 22, 2020

i have the same question

@leechanghoon3024
Copy link

anything solution?

@scannbook
Copy link

Use @1.1.0 instead. It work for me

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants