npm - yo generator stuck - TypeError: Cannot read property 'addListener' of null -


i'm trying create own simple "hello world" yeoman generator. simple one.

i installed yeoman generator.

npm install -g generator-generator 

then tried run it.

yo generator 

     _-----_     |       |    .--------------------------.     |--(o)--|    |  create own yeoman  |    `---------´   |      generator      |     ( _´u`_ )    |       superpowers!       |     /___a___\    '--------------------------'      |  ~  |         __'.___.'__     ´   `  |° ´ y `   ? mind telling me username on github? my-name ? what's base name of generator? test 

i stuck here 10 minutes ....


then, decide kill - control + c, got this.

/usr/local/lib/node_modules/yo/node_modules/inquirer/node_modules/rx/dist/rx.js:579     throw e;           ^ typeerror: cannot read property 'addlistener' of null     @ function.observable.fromevent (/usr/local/lib/node_modules/yo/node_modules/inquirer/node_modules/rx/dist/rx.async.js:426:16)     @ module.exports (/usr/local/lib/node_modules/yo/node_modules/inquirer/lib/utils/events.js:9:25)     @ prompt._run (/usr/local/lib/node_modules/yo/node_modules/inquirer/lib/prompts/confirm.js:60:16)     @ prompt.run (/usr/local/lib/node_modules/yo/node_modules/inquirer/lib/prompts/base.js:71:8)     @ object.<anonymous> (/usr/local/lib/node_modules/yo/node_modules/inquirer/lib/ui/prompt.js:96:12)     @ object.utils.runasync (/usr/local/lib/node_modules/yo/node_modules/inquirer/lib/utils/utils.js:29:22)     @ /usr/local/lib/node_modules/yo/node_modules/inquirer/lib/utils/utils.js:51:13     @ trycatcher (/usr/local/lib/node_modules/yo/node_modules/inquirer/node_modules/rx/dist/rx.js:567:29)     @ setdisposable (/usr/local/lib/node_modules/yo/node_modules/inquirer/node_modules/rx/dist/rx.js:5233:36)     @ anonymousobservable.s [as _subscribe] (/usr/local/lib/node_modules/yo/node_modules/inquirer/node_modules/rx/dist/rx.js:5250:11)   

some people had same problem : here

any hints / suggestions ?


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -