When React-Native initializes a new project, it will not be able to run.

React-Native can"t run when initializing a new project
I don"t know what to do

Mar.18,2021

if you study according to the tutorials, you'd better have the same version number of all packages as in the tutorials, so that you can run steadily. If you are self-taught, it is recommended to teach a stable version. Now you can start with


package.json to modify the react-naive version to "react-native": "^ 0.24", , Then delete rm-rf node_module & & cnpm install .


the reason why new projects can't run is mainly due to the problem of react-native version. Generally, do not choose the latest version, there will be more pits.

and with the upgrade of rn, the versions of third-party plug-ins often become incompatible. It would be nice to step on more tramps

.
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-1e445a4-44abf.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-1e445a4-44abf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?