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?
相关问题
- Calling a yeoman generator after a generator has f
- How i can use yeoman to work with Sass files?
- Couldn't find the 'yo' binary. Make su
- How to generate unit tests from a JS module automa
- ui-router not rendering views
相关文章
- How to ignore files in Yeoman with fs.copyTpl
- Getting error while scaffolding angular app
- Development mode for AngularJS using GruntJS
- grunt serve from a fresh Yeoman install returns -
- gulp typescript throws error TS2300: Duplicate ide
- How to install latest unstable AngularJS component
- How do I tell Grunt to NOT minify or concatenate j
- Font-awesome not working with yeoman generator pus
Generators are just normal npm modules, so you can remove it with
npm uninstall -g generator-[nameOfGenerator]
Search for generators with
Remove generator with
NOTE: Don't include '@[version] ' that follows the generator name
npm uninstall -g [generator-name]
might not fix the UNMET DEPENDENCY. If you won't mind to reinstall the affected modules:rm -rf [generator-name]
npm cache clean
npm install -g [generator-name]
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.