`View` has no propType for native prop `RCTView.aspectRatio` of native type `float`

最近碰到一个错误,错误内容如下:

`View` has no propType for native prop `RCTView.aspectRatio` of native type `float`_第1张图片
Paste_Image.png

解决方法:

原因是我在其他项目中开启了React packager,需要将其关闭,重新启动React packager即可

你可能感兴趣的:(`View` has no propType for native prop `RCTView.aspectRatio` of native type `float`)