question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot read 'hex' of undefined

See original GitHub issue

Hi, I’m getting this error when importing * as Progress in my app

import * as Progress from 'react-native-progress';
.
.
.
 <Progress.Bar progress={0.3} width={200} />
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

React Native: 0.63 Progress: 4.1.2 Art: 1.2.0

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:7
  • Comments:11

github_iconTop GitHub Comments

5reactions
cheepioncommented, Nov 13, 2020

i’ m add yarn add @react-native-community/art and use the other components like Progress.Circle it’s work for me

1reaction
TheFrostagecommented, Jan 6, 2021

Don’t forget to install pods for ios after installing react-native-art. I didn’t see that setup step in the docs but it is required.

Read more comments on GitHub >

github_iconTop Results From Across the Web

react-color Cannot read property 'value' of undefined
It's a very specific error which tells you exactly what the problem is. e.target is undefined , so whatever e is, it has...
Read more >
Developers - Cannot read 'hex' of undefined - - Bountysource
Hi, I'm getting this error when importing * as Progress in my app import * as Progress from 'react-native-progress'; . . . <Progress....
Read more >
Cannot read properties of undefined (reading 'toHexString')
Hey Devs I want to interact with this smart contract function but i get this error Cannot read properties of undefined (reading ...
Read more >
VUEJS - Cannot read properties of null (reading 'hex')"
This is a weird one... This... {{action.grade.hex}} Gives me this... Cannot read properties of null (reading 'hex')" Yet when I do this.
Read more >
Cannot read property 'hex' of undefined in AWS SDK - hinty
Cannot read property 'hex' of undefined in AWS SDK. #StandWithUkraine. Today, 30th November 2022, Ukraine is still bravely fighting for democratic values, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found