首页 > 代码库 > UNMET PEER DEPENDENCY react@16.0.0-alpha.6解决方案

UNMET PEER DEPENDENCY react@16.0.0-alpha.6解决方案

技术分享

安装包时提示:

Bash
── UNMET PEER DEPENDENCY react@16.0.0-alpha.6
└── react-native-camera@0.6.0  invalid

npm WARN react-native-camera@0.6.0 requires a peer of react@>=15.4.0 but none was installed.

解决:

Bash
npm install npm@latest -g

UNMET PEER DEPENDENCY react@16.0.0-alpha.6解决方案