Plugins 爱奥尼亚3谷歌地图插件

Plugins 爱奥尼亚3谷歌地图插件,plugins,native,ionic3,Plugins,Native,Ionic3,我正在使用Ionic 3-Angular 4构建一个应用程序,并且我正在尝试添加Google Maps本机SDK插件,我不断收到以下错误: Error: Failed to fetch plugin file:node_modules/cordova-plugin-googlemaps via registry. Probably this is either a connection problem, or plugin spec is incorrect. Check your connec

我正在使用Ionic 3-Angular 4构建一个应用程序,并且我正在尝试添加Google Maps本机SDK插件,我不断收到以下错误:

Error: Failed to fetch plugin file:node_modules/cordova-plugin-googlemaps via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: cmd: Command failed with exit code 4294963229 Error output:
npm ERR! path C:\Users\shawe\Desktop\Xampp Server\Ionic\beitelmagdes\node_modules\cordova-plugin-googlemaps\npm-shrinkwrap.json
npm ERR! code ELOOP
npm ERR! errno -4067
npm ERR! syscall open
npm ERR! ELOOP: too many symbolic links encountered, open 'C:\Users\shawe\Desktop\Xampp Server\Ionic\beitelmagdes\node_modules\cordova-plugin-googlemaps\npm-shrinkwrap.json'

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\shawe\AppData\Roaming\npm-cache_logs\2017-11-16T07_43_23_428Z-debug.log

[ERROR] An error occurred while running cordova plugin add cordova-plugin-googlemaps --variable
API_KEY_FOR_ANDROID=AIza... (exit code 1).

请帮助

我也遇到了同样的问题,似乎是因为重新编程的问题。如果您遵循ionic native文档,它现在运行良好:


请给出详细信息,比如你做了什么(你在哪里添加了依赖项?),代码示例等等。另外,链接完整的日志会有帮助,我对这方面还是新手。那么,你从哪里得到这个日志呢?不用担心,我们都是从那里开始的。我不知道Ionic3,但是提供您提供的内容中提到的完整日志的相关行(可能是结尾)会有所帮助。另外,您是如何添加依赖项的?
    $ ionic cordova plugin add cordova-plugin-googlemaps --variable 
      API_KEY_FOR_ANDROID="YOUR_ANDROID_API_KEY_IS_HERE" --variable 
      API_KEY_FOR_IOS="YOUR_IOS_API_KEY_IS_HERE"
    $ npm install --save @ionic-native/google-maps