can't create project using react-native init

后端 未结 2 1193
暖寄归人
暖寄归人 2020-12-21 22:21

I am getting this error again and again when creating a new project using react-native init. I reinstalled react-native cli and tried again but no luck. Can someone please t

2条回答
  •  自闭症患者
    2020-12-21 23:05

    This problem can be resolve in one line code nothing more

    $ react-native init [projectName] --version react-native@0.55.4

    what this does is that you explicitly tell that you want your project to be created with this specify version

提交回复
热议问题