'Navigator is deprecated and has been removed from this package. It can now be installed ' +
来源:互联网 发布:淘宝面试问题及答案 编辑:程序博客网 时间:2024/05/17 08:11
报错:'Navigator is deprecated and has been removed from this package. It can now be installed ' +
'and imported from `react-native-deprecated-custom-components` instead of `react-native`. ' +
'and imported from `react-native-deprecated-custom-components` instead of `react-native`. ' +
'Learn about alternative navigation solutions at http://facebook.github.io/react-native/docs/navigation.html'
这是因为版本升级到0.43以上的话,Navigator不能直接从react-native里面获取了,
解决方案:
npm install react-native-deprecated-custom-components --save
然后在引用的地方
import {Navigator} from react-native-deprecated-custom-components
阅读全文
1 0
- 'Navigator is deprecated and has been removed from this package. It can now be installed ' +
- Navigator is deprecated and has been removed from this package
- Navigator has been remove from this package报错
- warning D9035 : option 'Wp64' has been deprecated and will be removed in a future
- 【React Native】React Native之Navigator has been remove from this package...的问题
- 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
- '++'is deprecated: it will be removed in swift 3
- WARNING:XXX is deprecated and will be removed...
- 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
- 解决Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future:
- Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: u
- 解决Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future:
- 某市高新区管委会车辆出入管理创新思路
- java关键字this的用法总结
- Red Hat 7.3 基于本地http搭建YUM
- SSH的统一应用
- 贝塞尔曲线学习【1】
- 'Navigator is deprecated and has been removed from this package. It can now be installed ' +
- magnitude函数
- 使用fastjson 替换springMvc默认的jackson
- UnityShader案例(六)——渐变纹理
- 解决Hibernate:could not initialize proxy
- 使用Nginx+Keepalived组建高可用负载平衡Web server集群
- [Shell]tr命令使用指南
- [Java]集合框架中值得注意的点
- 抓取一些乱的URL