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 read property 'makeMutable' of undefined #5545
Comments
Hey! 👋 The issue doesn't seem to contain a minimal reproduction. Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem? |
Hi @thecodecafe, I'm afraid we cannot help you without any reproduction. We use |
I have same problem |
Since there are more users facing the same problem I was trying to reproduce it independently and also failed. Looks that we really need a reproducible example. |
@Latropos thanks, I'll try and set up a fresh react native project with the same setup and put it on a public repo by Sunday, I'm currently travelling. |
@thecodecafe Hi! Were you able to reproduce this issue? |
Hi @Latropos sorry for the delayed response, a colleague of mine was able to find the problem, there's was a slight mistake when I was adding the plugin in the babel file due to nesting from another plugin, it was resolved by properly adding the plugin in the babel file. |
For others looking to resolve - this is what your babel.config.js should look like if using useSharedValue / reanimated module.exports = { |
Could you share how it got fixed? |
I'm having the same issue. |
1 similar comment
I'm having the same issue. |
I solved this problem.(我解决了这个问题) react-native-reanimated-carousel 版本:3.5.1 这个问题是因为两个依赖库版本的问题,我从 react-native-reanimated-carousel 的 package.json 中发现依赖库版本并不是最新版本,所以用下面命令重新安装了这两个库。 安装完又按照下面文档进行了配置 然后重启app错误就没有了。
This problem is due to the problem of two dependent library versions. I found that the dependent library version is not the latest version from the react-native-reanimated-carousel package.json, so I reinstalled the two libraries with the following command. After installation, it was configured according to the following documents Then restart the app and the error is gone. |
I'm having the same issue. |
Since we haven't received any reproduction for this issue, I will close this issue. Feel free to ping me if you have a reproduction, preferably as a github repository. Only then will I reopen this issue. |
i've faced the same issue i put plugin at last and then after i run a comman npm start -- --reset-cache and its works |
module.exports = { this solved the problem for me as well, adding 'react-native-reanimated/plugin', to babel file. on the previous RN version it wasn't required. |
Description
When I call
useSharedValue(0)
the app crashes with the following message.Steps to reproduce
useSharedValue(0)
Snack or a link to a repository
Private Repo
Reanimated version
3.6.1
React Native version
0.73.1
Platforms
iOS
JavaScript runtime
Hermes
Workflow
React Native
Architecture
Fabric (New Architecture)
Build type
Debug app & dev bundle
Device
iOS simulator
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: