Blog

Uninstall Grunt from Magento2

To remove or uninstall Grunt, run below command

npm uninstll -g grunt-cli

You will get the output like this

 

 

commands:

npm uninstall sax --save
npm uninstall @myorg/privatepackage --save
npm uninstall node-tap --save-dev
npm uninstall dtrace-provider --save-optional
npm uninstall lodash --no-save

npm uninstall takes 3 exclusive, optional flags which save or update the package version in your main package.json:

  • -S, --save: Package will be removed from your dependencies.

  • -D, --save-dev: Package will be removed from your devDependencies.

  • -O, --save-optional: Package will be removed from your optionalDependencies.

  • --no-save: Package will not be removed from your package.json file.

Remove node.js from Windows:

You can uninstall node.js from the control panel.

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *