cordova cli Installationsfehler

Ich versuche, mein ionic cordova cli zu aktualisieren, als ich Probleme beim Installieren der beiden Pakete bekam, aber jetzt wurde ionic erfolgreich installiert und ich habe versucht, das cordova jetzt zu installieren. Alle Versuche waren nicht erfolgreic

$ npm install -g cordova
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "c:\\Program Files\\nodejs\\node.exe" "c:\\Program Files\\nodejs\\
node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "cordova"
npm ERR! node v0.12.0
npm ERR! npm  v2.5.1
npm ERR! file C:\Users\Akinsanya Olanrewaju\AppData\Roaming\npm-cache\cordova-js
\3.7.3\package\package.json
npm ERR! code EJSONPARSE

npm ERR! Failed to parse json
npm ERR! Unexpected token
npm ERR! File: C:\Users\Akinsanya Olanrewaju\AppData\Roaming\npm-cache\cordova-j
s\3.7.3\package\package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse

npm ERR! Please include the following file with any support request:
npm ERR!     f:\npm-debug.log

Bitte ich brauche deine Hilfe, da ich mich mitten in einem Projekt befinde. Vielleicht sind andere Quellen für die Installation von Cordova auf meinem Computer als npm erwünscht oder es gibt Möglichkeiten, diese Probleme zu beheben.

Vielen Dank

Antworten auf die Frage(18)

Ihre Antwort auf die Frage