Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Cannot find module './bundle/unbundle' after react-native-git-upgrade. #23197
then terminal print the message:
If I just create a new project with 0.58.3 or 0.57.8 is working.
But use react-native-git-upgrade from 0.57.8 to 0.58.3 and run the project get the error.
Any idea ? Thanks in advance.
@m4rcoperuano I have asked the same question on stack overflow, Akio give me a solution. https://stackoverflow.com/questions/54414518/react-native-git-upgrade-error-cannot-find-module-accessibilityinfo
I'm not try the solution yet. I think you can try it.
If it is working or not, let me know it. Thanks.
@motogod So i didn't try what he mentioned, but it gave me a good hint! I never want to mess with anything labeled cache, so I ended up removing my node_modules folder. Recreating it, empty, and running npm install to rebuild all my modules. Thats it. My react-native commands started working again. I guess during my react-native-git-upgrade, my node_modules got out of sync? I'm not sure.... but this worked for me without having to touch any cached files :)