delete a node from node modules code example
Example 1: remove node modules command
rm -rf node_modules/
npm install
Example 2: delete node module folder
rm -rf node_modules
rm -rf node_modules/
npm install
rm -rf node_modules