delete node_modules folder in package.json code example Example: remove node modules command rm -rf node_modules/ npm install