[react-native] npm install warn需要多个版本的反应

时间:2017-04-19 01:31:06

标签: reactjs npm react-native npm-install

我正在运行一个react-native项目,它是package.json依赖项的一些第三方库,但是这些库可能很长时间没有更新,它们需要不同版本的反应。 当我安装npm时,我收到了以下警告:

npm WARN react-native@0.43.3 requires a peer of react@16.0.0-alpha.6 but none was installed.
npm WARN native-base-shoutem-theme@0.1.0 requires a peer of react@>=15.1.0 but none was installed.
npm WARN @shoutem/animation@0.8.10 requires a peer of react@^15.0.0 but none was installed.
npm WARN react-static-container@1.0.1 requires a peer of react@^0.13.0 || ^0.14.0 || ^15.0.0 but none was installed.
npm WARN react-test-renderer@15.4.2 requires a peer of react@^15.4.2 but none was installed.

我不确定npm是否可以在一个项目中安装多个版本。那么我该如何解决这个问题呢?

0 个答案:

没有答案