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?
Yeoman and Cookiecutter are dead; long live Copier! RecallStack.
Generators are just normal npm modules, so you can remove it with
npm uninstall -g generator-[nameOfGenerator]
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]
Search for generators with
npm list -g --depth=0 | grep 'generator'
Remove generator with
npm uninstall -g [generator-name]
NOTE: Don't include '@[version] ' that follows the generator name
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With