错误:预期节点为["Statement"]类型,但得到了"AssignmentExpression"反应本机IOS
尝试在 ios 模拟器上运行本机应用程序时遇到此问题。我实际上只是创建了正在运行的项目npx react-native init app_test,当我运行时出现npx react-native run-ios了这个错误。
我没有安装依赖项或 pod 或任何东西。仅yarn start在应用程序初始化完成并尝试运行模拟器时运行。有什么建议吗?
控制台中的错误:
error: node_modules/react-native/Libraries/Image/ImageAnalyticsTagContext.js: Property body[6] of BlockStatement expected node to be of a type ["Statement"] but instead got "AssignmentExpression"
THE END
二维码