【发布时间】:2017-12-11 12:40:31
【问题描述】:
因为依赖问题,我基本上想用 react@15.6.0 和 react-native@0.45.0 启动一个 react-native 项目。但是 react-native 命令只允许我指定 react-native 版本:
react-native init sample --version react-native@0.45.0
此命令无效:
react-native init diskful --version react-native@0.45.0 --version react@15.6.0
这也是:
react-native init diskful --version react-native@0.45.0 react@15.6.0
还有这个:
react-native init diskful --version react@15.6.0 react-native@0.45.0
全局安装 react@15.6.0 或 react-native@0.45.0 不影响。 请有人帮帮我!
【问题讨论】:
标签: reactjs react-native npm version