问题描述
我使用命令 npx react-native init MyApp --template react-native-template-typescript
创建了一个新项目。
"dependencies": { "react": "17.0.1","react-native": "0.64.0" }
当我运行 npx react-native run-ios
时,它给了我以下错误。
我尝试用 use_flipper!()
替换 use_flipper!({ 'Flipper-Folly' => '2.3.0' })
在 Podfile 中,然后删除 ios/Pods 和 ios/Podfile.lock。
当我运行 pod install 时,它再次抛出这样的错误。
解决方法
将脚蹼更新为 0.49 ,应该就可以了