【问题标题】:react-native init is empty upon creationreact-native init 在创建时是空的
【发布时间】:2022-11-16 10:12:42
【问题描述】:

我正在升级到最新的 react-native。 我正在关注这个https://reactnative.dev/docs/0.68/environment-setup

使用当前设置 红宝石 2.7.5(使用 rvm) 宝石 3.1.6 节点 14

运行此命令后 npx react-native init AwesomeProject

我的文件夹里只有这个

谢谢你。

【问题讨论】:

    标签: react-native


    【解决方案1】:

    对不起,

    我只是通过重新安装这些来修复它

    npm uninstall -g react-native
    npm uninstall -g react-native-cli
    
    npm install -g react-native-cli
    npm install -g react-native
    
    
    

    【讨论】:

      猜你喜欢
      • 2020-10-19
      • 2018-12-13
      • 1970-01-01
      • 2017-12-17
      • 1970-01-01
      • 2021-03-09
      • 1970-01-01
      • 1970-01-01
      • 2022-10-04
      相关资源
      最近更新 更多