Mapbox GL - React Native安装错误

时间:2016-05-31 11:38:18

标签: react-native mapbox mapbox-gl

安装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"
}

0 个答案:

没有答案