I am trying generator-ionic, followed the usage guidelines in README.md and unable to generate a project for ionic using yo ionic project command. This is the error I am getting even trying out different templates:
$ yo ionic ionic-example-yo
_-----_
| | ╭──────────────────────────────────────────╮
|--(o)--| │ Update available: 1.8.5 (current: 1.8.4) │
`---------´ │ Run npm install -g yo to update. │
( _´U`_ ) ╰──────────────────────────────────────────╯
/___A___\ /
| ~ |
__'.___.'__
´ ` |° ´ Y `
_ _
(_) (_)
_ ___ _ __ _ ___
| |/ _ \| '_ \| |/ __|
| | (_) | | | | | (__
|_|\___/|_| |_|_|\___|
? Would you like to use Sass with Compass (requires Ruby)? No
? Which Cordova plugins would you like to include? (Press <space> to select)org.apache.cordova.device, org.apache.cordova.console, com.ionic.keyboard
? Which starter template would you like to use? Blank
events.js:160
throw er; // Unhandled 'error' event
^
Error: unexpected end of file
at Zlib._handle.onerror (zlib.js:370:17)
I am trying generator-ionic, followed the usage guidelines in
README.md
and unable to generate a project for ionic usingyo ionic project
command. This is the error I am getting even trying out different templates: