How to remove a Yeoman generator

后端 未结 4 1781
臣服心动
臣服心动 2021-02-03 17:48

I accidentally installed a generator that I don\'t want.
I can\'t find any method to remove it.
What should I do to accomplish this?

4条回答
  •  迷失自我
    2021-02-03 18:42

    I wanted to add something for posterity:

    If you get an number of errors of class 'peerDependencies' for yeoman's generators, updating yo alone will not cut it - you need to remove all generators that throw the error and then reinstall whatever module lead to the trouble.

    Unfortunately, as far as I ahve chekced, regex is not supported by npm.

提交回复
热议问题