rm node_modules npm install code example
Example 1: delete node_modules
rm -rf node_modules/
yarn install
Example 2: delete node module
npm uninstall node_module_name
rm -rf node_modules/
yarn install
npm uninstall node_module_name