Provando ad eseguire una compilazione di una app ionic con cordova su ios:
ionic cordova build ios
potresti scontrarti con il seguente errore:
CordovaError: Promise rejected with non-error: 'ios-deploy was not found. Please download, build and install version 1.9.2 or greater from https://github.com/phonegap/ios-deploy into your path, or do \'npm install -g ios-deploy\''
la soluzione ovviamente è quella di installare il pacchetto mancate ovvero ios-deploy eseguendo il seguente comando:
sudo npm install -g ios-deploy
ma nel caso, provando ad eseguirlo, dovessi scontrarti con un errore di questo tipo:
... ... ... npm ERR! Exit status 65 npm ERR! npm ERR! Failed at the ios-deploy@1.9.3 preinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: ... ...
allora sarà sufficiente lanciare il comando di installazione nel seguente modo:
npm install -g ios-deploy --unsafe-perm=true
Se vuoi farmi qualche richiesta o contattarmi per un aiuto riempi il seguente form

Comments