Titanium appcelerator – errore aggiornamento
Mi sto avvicinando al mondo mobile e ho iniziato a testare un pò Titanium appcelerator. Ho scaricato ed installato il software sul mio OSX 10.9.1. Ho seguito il tutorial “Quick start” e ho lanciato l’aggiornamento del software che però non è andato a buon fine. Ho chiuso il software e provato nuovamente ma nulla. Guardando i logs l’errore sembra legato a problemi di autenticazione con npm. Infatti nel log trovo qualcosa di questo tipo:
1 2 3 4 5 6 7 8 9 |
17 verbose url resolving [ 'https://registry.npmjs.org/', './acs' ] 18 verbose url resolved https://registry.npmjs.org/acs 19 info trying registry request attempt 1 at 14:40:58 20 http GET https://registry.npmjs.org/acs 21 info retry will retry, error on last attempt: Error: SELF_SIGNED_CERT_IN_CHAIN 22 info trying registry request attempt 2 at 14:41:09 23 http GET https://registry.npmjs.org/acs 24 info retry will retry, error on last attempt: Error: SELF_SIGNED_CERT_IN_CHAIN 25 info trying registry request attempt 3 at 14:42:09 |
Ho risolto invocando da terminale il seguente comando:
1 |
npm config set strict-ssl false |