cordova-plugin-googlemaps icon indicating copy to clipboard operation
cordova-plugin-googlemaps copied to clipboard

Npm install command error

Open CedLP opened this issue 5 years ago • 1 comments

hello, i have bug when i try to run npm install after clone my project in git, the error is

npm ERR! code 128 npm ERR! Command failed: git clone --mirror -q https://github.com/mapsplugin/cordova-plugin-googlemaps-sdk.git /Users/cedric/.npm/_cacache/tmp/git-clone-11842e92/.git npm ERR! warning: modèles non trouvés dans /tmp/pacote-git-template-tmp/git-clone-39498e11 npm ERR! error: échec RPC ; curl 18 transfer closed with outstanding read data remaining npm ERR! fatal: L'hôte distant a fermé la connexion de manière inattendue npm ERR! fatal: fin de fichier prématurée npm ERR! fatal: échec de index-pack npm ERR!

npm ERR! A complete log of this run can be found in: npm ERR! /Users/cedric/.npm/_logs/2020-08-19T20_54_06_174Z-debug.log

and this is my package.json

"cordova-plugin-googlemaps": "^2.7.1", "cordova-plugin-googlemaps-sdk": "git+https://github.com/mapsplugin/cordova-plugin-googlemaps-sdk.git",

Someone have a solution to solve this please

CedLP avatar Aug 19 '20 21:08 CedLP

Please try to upgrade your npm and got command itself.

wf9a5m75 avatar Aug 19 '20 21:08 wf9a5m75