TypeError: 0, _$$_REQUIRE(_dependencyMap[0], "../..").(function imported from other file) is not a function (it is undefined), js engine: hermes
Linuhusainnk opened this issue · 12 comments
Is there an existing issue for this?
- I have searched the existing issues
Do you want this issue prioritized?
- Yes, I have sponsored
- Not urgent
Current Behavior
App crashes and shows error when using utility function imported from external defined file
Expected Behavior
No response
Steps To Reproduce
No response
Versions
- Moti: 0.27.2
- Reanimated: 3.0.2
- React Native: 0.72.4
Screenshots
No response
Reproduction
@nandorojo will be helpfull if you could go through this issue
shared github repo to reproduce the issue
Remember, you marked it as not urgent so I'll get to it when I have some free time
You misspelled Skeleton.Group
spell corrected, still same issue exist
What makes you think this is a moti issue
Would be, tried in 3 projects with similar folder structure
Sorry I don’t understand what you mean. There’s nothing in this error message mentioning moti, so I’m guessing this is a separate issue with your code.
without moti its working fine
@nandorojo any config changes needed ?
That error you just sent isn't even related to moti. It seems like your setup is off.
Also, in open source it's typically best not to tag someone if you choose not to sponsor just FYI
Issue sorted out, by changing the babel config to choose specific root path