at Object.parse (native)
at RegClient.<anonymous> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:274:23)
at Request._callback (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:246:65)
at Request.self.callback (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/request.js:236:22)
at Request.emit (events.js:98:17)
at Request.<anonymous> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/request.js:1142:14)
at Request.emit (events.js:117:20)
at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/request.js:1096:12)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:929:16
Unable to add plugins. Perhaps your version of Cordova is too old. Try updating (npm install -g cordova), removing this project folder, and trying again. (CLI v1.3.10)
Your system information:
OS: Mac OS X Mavericks
Node Version: v0.10.29
Cordova CLI: 4.2.0
Ionic Version: 1.0.0-beta.14
Ionic CLI Version: 1.3.10
Xcode version: Xcode 4.6.3 Build version 4H1503
ios-sim version: Not installed
I have to admit I’m new to Cordova, let alone Ionic. But you know, Yes, I’m right under the app directory and run the command. That is I create an app like below:
cordova create hello com.example.hello HelloWorld
And after cd hello, I run the plugin command. BTW, I’m able to build the app and add platforms like Android in the app.
For Ionic, I don’t get it. I run the basic command ionic start to create the app and meet the exception, What could I do then?