2017-11-16 5 views
0

는 응용 프로그램을 구축 할-각도 3 이온 4를 사용하고, 나는 Google지도 네이티브 SDK 플러그인을 추가하려고하고 나는 다음과 같은 오류가 계속 :이온 3 Google지도 플러그인

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). 

을 도와주세요
+0

당신이 무슨 짓을했는지 같은 세부주십시오, 코드 샘플, 또한 ... –

+0

(당신이 종속성을 추가 했습니까?) : 지금 당신은 이온 기본 문서를 따르는 경우에 잘 작동하고 전체 로그를 연결하면 –

+0

das_j 도움이 될 것입니다. 그럼 어디에서이 로그를 얻을 수 있겠습니까? –

답변

0

나는 똑같은 문제를 겪고 있었고 재현에 문제가있는 것처럼 보였다.

https://ionicframework.com/docs/native/google-maps/

$ 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