Why are my Yeoman generators installing in the wrong place?

前端 未结 4 1642
孤独总比滥情好
孤独总比滥情好 2020-12-08 10:02

I have a problem with Yeoman generators. They install just fine if I run \"npm install [generator-name] -g\". However when I try to run \"yo [generator-name] yeoman can\'t s

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-08 10:21

    I uninstalled yeoman entirely, then re-installed it

    npm remove -g yo
    npm install -g yo
    

    This fixed my problem with missing angular generators.

提交回复
热议问题