Ionic 2:安装 Google 地图插件时出错
Ionic 2: Error installing Google Maps plugin
我正在尝试为 Google 地图安装此插件:https://ionicframework.com/docs/native/google-maps/ 但出现错误:
Error: Failed to fetch plugin https://github.com/mapsplugin/cordova-plugin-googlemaps-sdk via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: npm: Command failed with exit code 1 Error output:
npm ERR! code 1
谢谢!!
$> git clone https://github.com/mapsplugin/cordova-plugin-googlemaps-sdk
$> cd (path to your project)
$> cordova plugin add (path to)/cordova-plugin-googlemaps-sdk
我正在尝试为 Google 地图安装此插件:https://ionicframework.com/docs/native/google-maps/ 但出现错误:
Error: Failed to fetch plugin https://github.com/mapsplugin/cordova-plugin-googlemaps-sdk via registry. Probably this is either a connection problem, or plugin spec is incorrect. Check your connection and plugin name/version/URL. Error: npm: Command failed with exit code 1 Error output: npm ERR! code 1
谢谢!!
$> git clone https://github.com/mapsplugin/cordova-plugin-googlemaps-sdk
$> cd (path to your project)
$> cordova plugin add (path to)/cordova-plugin-googlemaps-sdk