Navigator is deprecated and has been removed from this package
来源:互联网 发布:非洲的基础网络情况 编辑:程序博客网 时间:2024/06/06 18:49
0.49版本开发React Native 项目时,从react-native中导入Navigator时报如下图错误
查找原因得知,因为react-native版本升级到0.43以上以后,Navigator不能直接从react-native中导入获取了
解决方法:
在命令行中npm install react-native-deprecated-custom-components,安装成功以后,把引用的地方改为import {Navigator} from react-native-deprecated-custom-components即可。
阅读全文
0 0
- Navigator is deprecated and has been removed from this package
- 'Navigator is deprecated and has been removed from this package. It can now be installed ' +
- Navigator has been remove from this package报错
- 【React Native】React Native之Navigator has been remove from this package...的问题
- warning D9035 : option 'Wp64' has been deprecated and will be removed in a future
- Warning 1 Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a fu
- Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future relea
- Command line warning D9035 : option 'clr:oldsyntax' has been deprecated and will be removed in a fut
- Warning 1 Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a fu
- warn: Appium support for versions of node < 0.12 has been deprecated and will be removed in a future
- 解决警告:View.propTypes has been deprecated and will be removed in a future version of ReactNative
- Import of META-INF/cxf/cxf-extension-soap.xml has been deprecated and is unnecessary
- Rails Error: rails a copy of has been removed from the module tree but is still active
- was active for 79985 milliseconds and has been removed automaticaly.
- WARNING:XXX is deprecated and will be removed...
- relying on packaging to define the extension of the main artifact has been deprecated and is schedul
- Creating properties on demand (a.k.a. dynamic properties) has been deprecated and is scheduled to be
- Deprecated: mysql_connect(): The mysqlextension is deprecated and will be removed in the future: use
- bootstrap table关于排序列添加图标的方法--查漏补缺
- python设计模式(外观模式)
- linux中文件的分区
- Beginning Django.pdf 英文原版 免费下载
- c++实现链表归并排序
- Navigator is deprecated and has been removed from this package
- Android监听软键盘打开收起事件(软键盘自带收起按钮)
- java作业
- checkbox 选中事件
- PagerAdapter和FragmentPagerAdapter和FragmentStatePagerAdapter区别
- hdu2087剪花布条+hdu3746Cyclic Nacklace 【kmp复习】
- C# 发送邮件
- 坐标的转换
- 开启php-fpm php错误日志