我基本上想要使用[email protected]和[email protected]初始化一个react-native项目,因为依赖性问题.但是react-native命令只允许我指定react-native版本:
react-native init sample --version [email protected]
此命令不起作用:
react-native init diskful --version [email protected] --version [email protected]
这个也是:
react-native init diskful --version [email protected] [email protected]
这也是:
react-native init diskful --version [email protected] [email protected]
全球安装[email protected]或[email protected]不影响.
拜托,有人帮帮我!
创建一个项目:
react-native init MyNewApp --version 0.45.0
如果你想改变版本,那么试试这个:
npm install --save [email protected] npm install --save [email protected]