Delete the react-native nodemodules folder in npm install, but it will no longer run

react-native nodemodules folder deleted in npm install, but can no longer run
error: Could not get BatchedBridge, make sure your bundle is packaged properly "on start of app
Baidu round, still have no choice but to delete the whole project and start all over again, solve


I also encountered your problem. The reason I deleted node_modules is that the code introduction prompt does not always exist after I install another module, but it can be found in the node_modules folder, so I deleted the entire node_modules folder and then reinstalled it, and there is a problem in your topic, although some people on stackoverflow have encountered this kind of error prompt. However, it is not caused by deleting node_modules at all (the project can be run before deleting node_module)
my solution is to use npm install to install instead of cnpm install,. After installation, the run-android interface may appear black screen. Turn off and run run-android again

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b334e3-2be9d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b334e3-2be9d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?