Hi All,
While I was trying to install Ionic framework to start develop cross mobile apps using Ionic, I was getting errors while running the following command:
I have El Capitan version 10.11.1 with Node.js version 5.0.0 and npm version 3.3.6.
I tried to uninstall cordova first, then re-install cordova. After that, I tried to install ionic by itself but i was getting the following errors in the terminal window:
I tried to read more if i am missing any requirements for Cordova CLI in OSX. I found out that XCode contains all OSX SDK tools and dependencies for Cordova apps development in OSX.
Cordova CLI Requirements url for OSX:
http://cordova.apache.org/docs/en/5.1.1/guide/platforms/ios/index.html
So i have decided to install XCode first, and the i re-ran the installation command for Ionic and i was able to create Ionic apps on my OSX dev machine.
So installing XCode on my machine did the trick!
Hope this helps.
Thanks a lot.
While I was trying to install Ionic framework to start develop cross mobile apps using Ionic, I was getting errors while running the following command:
$ npm install -g cordova ionic
I have El Capitan version 10.11.1 with Node.js version 5.0.0 and npm version 3.3.6.
I tried to uninstall cordova first, then re-install cordova. After that, I tried to install ionic by itself but i was getting the following errors in the terminal window:
npm ERR! Darwin 15.0.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "ionic"
npm ERR! node v5.0.0
npm ERR! npm v3.3.6
npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! syscall read
I tried to read more if i am missing any requirements for Cordova CLI in OSX. I found out that XCode contains all OSX SDK tools and dependencies for Cordova apps development in OSX.
Cordova CLI Requirements url for OSX:
http://cordova.apache.org/docs/en/5.1.1/guide/platforms/ios/index.html
So i have decided to install XCode first, and the i re-ran the installation command for Ionic and i was able to create Ionic apps on my OSX dev machine.
So installing XCode on my machine did the trick!
Hope this helps.
Thanks a lot.
No comments:
Post a Comment