1

在安装 Mapbox GL —npm install --save react-native-mapbox-gl时,我得到了这个输出:

 npm WARN minifyify@7.3.3 requires a peer of browserify@>= 5 but none was installed.`
 npm WARN react-native@0.26.2 requires a peer of react@15.0.2 but none was installed.`

我应该改变什么以获得适当的输出?

这是我的内容packages.json

"dependencies": {
    "mapbox-gl": "^0.18.0",
    "react": "^15.0.2",
    "react-dom": "^15.1.0",
    "react-native": "^0.26.2",
    "react-native-mapbox-gl": "^4.1.1",
    "react-native-search-bar": "^2.11.0"
}
4

0 回答 0