Sometimes, we want to fix build failing with npm rebuild node-sass --force.
In this article, we’ll look at how to fix build failing with npm rebuild node-sass --force.
How to fix build failing with npm rebuild node-sass --force?
To fix build failing with npm rebuild node-sass --force, we reinstall node-sass.
To do this, we run
npm uninstall node-sass
npm i node-sass
npm rebuild node-sass
to uninstall node-sass with npm uninstall.
Then we reinstall it with npm i.
Finally, we rebuild it with npm rebuild.
Conclusion
To fix build failing with npm rebuild node-sass --force, we reinstall node-sass.