[英]Why doesn't react-native init work properly?
When I run react-native init sth
the iOS and android folders don't get created. 当我运行
react-native init sth
,不会创建iOS和android文件夹。 For any react-native commands I get the error below: enter image description here What's wrong? 对于任何react-native命令,我都会收到以下错误: 在此处输入图片描述出了什么问题?
Looks like this is a known bug with react-native 0.56 and the solution is to use an old version! 看起来这是带有react-native 0.56的已知错误,解决方案是使用旧版本! This is how I had to init my project:
这是我必须初始化项目的方式:
react-native init {proj_name} --version react-native@0.55.4
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.