Skip to content
This repository has been archived by the owner on Jul 19, 2019. It is now read-only.

Cannot react property "hex" of undefined "../art/core/color.js" #116

Open
nikith050 opened this issue Mar 5, 2018 · 6 comments
Open

Cannot react property "hex" of undefined "../art/core/color.js" #116

nikith050 opened this issue Mar 5, 2018 · 6 comments

Comments

@nikith050
Copy link

nikith050 commented Mar 5, 2018

I am using react-native-web in my Application. Recta-Native-web dependency is recta-art. When i run my react app from webpack in Windows i get this error Cannot read property "hex" of undefined "../art/core/color.js".

@Frexuz
Copy link

Frexuz commented May 29, 2018

Same :(

@nikith050
Copy link
Author

nikith050 commented May 30, 2018

@Frexuz did you find Solution?. If not you can fork react-native-web and comment out the `art' library. this solved my issue. Hope this will be help full.
Or
you can use this https://www.npmjs.com/package/react-native-web-artless instead react-native-web

@Frexuz
Copy link

Frexuz commented May 30, 2018

I did not. Thanks :)

@treavis
Copy link

treavis commented Jul 4, 2018

color.js file is broken. You can fix it yourself, there are few pull requests in Art package or you can ignore that file in .babelrc { "ignore": [ "art/core/color.js" ],} . But it seems (at least for me) that this package breaks react-native build for android. So probably the best option is to remove react-art package from react-native-web altogether.

Also react-art seems to be dead and not maintained..

@Frexuz
Copy link

Frexuz commented Jul 10, 2018

We have this problem using react-native-web, which is a separate webpack setup than our react-native app. So for us { "ignore": [ "art/core/color.js" ]} did work well. Thanks :)

@relign
Copy link

relign commented Feb 26, 2019

sebmarkbage/art#19
I'm not sure why not merge ? :( :( :(

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