Récemment, j'ai installé Node.js avec Ionic et Cordova avec:
Cordova CLI: Not installed
3 Réponses :
En fin de compte, la réponse était simple: mettre à jour Cordova vers un package spécifique. J'ai fini par utiliser: ... qui a résolu le problème. P> p>
Avertissement de dépendance - Pour que la CLI fonctionne correctement, Il est fortement recommandé d'installer / à mettre à niveau les éléments suivants:
Veuillez installer votre CLI CORDOVA à la version> = 4.2.0 Votre système Informations: P> NPM Installer -g Cordova CODE> P>
Cordova CLI: Not installed
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v7.5.0
Xcode version: Not installed
Le même problème semble avoir réapparu avec la version 4.2.0.
exécutant p> a résolu le problème pour moi. (La télémétrie de Cordoue semble trop travailler) P> Détails: P> $ ionic info
******************************************************
Dependency warning - for the CLI to run correctly,
it is highly recommended to install/upgrade the following:
Please install your Cordova CLI to version >=4.2.0 `npm install -g cordova`
******************************************************
Your system information:
You have been opted out of telemetry. To change this, run: cordova telemetry on.
6.5.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 7
Node Version: v6.9.5
Xcode version: Not installed
******************************************************
Dependency warning - for the CLI to run correctly,
it is highly recommended to install/upgrade the following:
Please install your Cordova CLI to version >=4.2.0 `npm install -g cordova`
******************************************************
$ cordova telemetry off
You have been opted out of telemetry. To change this, run: cordova telemetry on.
$ ionic info
Your system information:
ordova CLI: 6.5.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 7
Node Version: v6.9.5
Xcode version: Not installed