Skip to content
This repository was archived by the owner on Jul 19, 2019. It is now read-only.
This repository was 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

Description

@nikith050

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".

Activity

  1. Frexuz commented on May 29, 2018

    @Frexuz

    Same :(

  2. nikith050 commented on May 30, 2018

    @nikith050
    Author

    @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

  3. Frexuz commented on May 30, 2018

    @Frexuz

    I did not. Thanks :)

  4. treavis commented on Jul 4, 2018

    @treavis

    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..

  5. Frexuz commented on Jul 10, 2018

    @Frexuz

    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 :)

  6. relign commented on Feb 26, 2019

    @relign

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions