Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find module 'art/core/path.js'. #47

Open
AndrewSouthpaw opened this issue May 9, 2018 · 6 comments
Open

Cannot find module 'art/core/path.js'. #47

AndrewSouthpaw opened this issue May 9, 2018 · 6 comments

Comments

@AndrewSouthpaw
Copy link

Following a basic setup, I get the following error running on Jest 22:

 FAIL  frontend/native/screens/__tests__/concentration_screen_spec.js
  ● Test suite failed to run

    Cannot find module 'art/core/class.js' from 'Path.js'

      at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:169:17)
      at Object.<anonymous> (node_modules/react-native-mock-render/build/components/ART/Path.js:1:104)

Searching around in the codebase, I don't see any files that match art/core/class.js. I've had to comment out the ART component in react-native.js on line 13.

Anyone know what's going on there?

@chinenyem
Copy link

I am having the same issue, has anyone come up with an answer for this yet?

@sonicdoe sonicdoe mentioned this issue Jun 19, 2020
@DracotMolver
Copy link

This is because the ART dependency was removed from the react-native core. This project seems not to be maintain. If you look the code the mock is pointed to an non-existent class. It should be updated. A quick/awful part is just comment the line that calls the ART dependency or make a fork of this project and fix it by your own

@GhayoorUlHaq
Copy link

Is there any solution for this?

@sonicdoe
Copy link

@russellwpatterson Why did you close this issue?

@russellwpatterson
Copy link

Accidentally. I can reopen.

@sonicdoe
Copy link

Thank you! By the way, this issue should be fixed by #89.

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

Successfully merging a pull request may close this issue.

6 participants