Shell
Reset Node dependencies
Remove node_modules and package-lock.json, then install again from scratch.
Use this when you want to remove installed packages and the lockfile, then install again from scratch.
CMD #
Use this for Windows Command Prompt.
rmdir /s /q node_modules
del package-lock.json
npm installPowerShell #
Use this for Windows PowerShell.
Remove-Item -Recurse -Force node_modules
Remove-Item package-lock.json
npm installBash #
Use this for Bash on Linux, macOS, Git Bash, and WSL.
rm -rf node_modules
rm package-lock.json
npm install