Closed tusharkhatiwada closed 2 years ago
The issue is invalid!
I am using yarn
try to execute this command : watchman watch-del-all && rm -rf $TMPDIR/react-native-packager-cache- && rm -rf $TMPDIR/metro-bundler-cache- && rm -rf node_modules/ && yarn cache clean && yarn install && yarn start -- --reset-cache
@rvasseur31 Not working. Cleared the cache and still the same problem
@rvasseur31 Not working. Cleared the cache and still the same problem
have you fix this problem?
Try running yarn upgrade and see if that helps.
I was running into a similar issue as well and what fixed it for me was removing module:metro-react-native-babel-preset
I am using expo so I am using the babel-preset-expo preset. Below is how my babel config is
module.exports = function (api) {
api.cache(true);
return {
presets: ["babel-preset-expo"],
plugins: ["react-native-reanimated/plugin"],
};
};
Not sure why that fixed things for me but maybe it might help someone else running into this issue
Hi @tusharkhatiwada
I had a very similar issue myself and it was something with the Babel preset. I can't help you directly since I don't remember how I fixed it because it was a long time ago.
What I would suggest if you would like us to help you is, try stripping everything from the app you are working on so that you are not leaking any sensitive info and any code that you can't show us and making it so that you leave the configuration, so that we can reproduce the configuration issue you have.
If you managed to fix the issue please, share with others what was helpful for you.
Until then I will close the issue, thank you for reporting and have a good day 😊
Description
App was working perfectly fine earlier. The next day when I tried to run the project, I started getting the following errors:
I tried to reinstall the package but still getting these errors. I followed the documentation for installation.
If I remove the imports from react-native-reanimated, the app works.
Expected behavior
The app should run without the above errors.
Snack or minimal code example
babel.config.js
Podfile
Package versions
Affected platforms