...
rm -r node_modules
This will remove the node_modules folder in your repository. If you are using Webpack, you can also remove thedist
folder usingrm -r dist
and re-build your repository.npm cache clean --force
nvm ls
- Prints the node versions installed on your machine & the current node version you're using.nvm use 16
npm uninstall node-sass
npm install sass
or …npm install node-sass@npm:sass
https://www.npmjs.com/package/node-sass/v/7.0.1 vs https://www.npmjs.com/package/sassnpm install
...