moti: Uncaught TypeError: createAnimatedComponent is not a function
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior

Expected Behavior
Stable work on all platform: web, ios, android
Steps To Reproduce

Versions
- Moti: 0.19.0-alpha.6
- Reanimated: ~2.9.1
- React Native: 0.69.4
Screenshots
No response
Reproduction
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 19 (7 by maintainers)
@crutch12 thank you for the details
@rafakwolf
I’ve tested your configs with my project - and it works now!
Your babel.config.js works perfectly, it solves the problem:
Here is the dramatic difference:
My previous babel.config.js:
Here is my webpack.config.js (I didn’t change it, it works fine with new babel.config.js):
So I think that adding
react-native-reanimated
in dangerouslyAddModulePathsToTranspile section is unnecessary@crutch12 babel.config and webpack.config
@nandorojo @crutch12 I think I managed to make it work https://github.com/rafakwolf/expo-moti-web
Do you mean with
expo install
?