A solution for “Node Sass does not yet support your current environment” Error

When compiling a sass file in Node.js project most developers have faced this problem. 


Error: Node Sass does not yet support your current environment: Windows 64-bit with false

For more information on which environments are supported please see:


TODO URL
    at Object. (E:\A Prem World\Team_Work_Tasks\Anjali\Anjali_20160524\QuizApp_20160524_01_Anj\node_modules\node-sass\lib\index.js:12:11)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:456:32)
    at tryModuleLoad (module.js:415:12)
    at Function.Module._load (module.js:407:3)
    at Module.require (module.js:466:17)
    at require (internal/module.js:20:19)
    at Object. (E:\A Prem World\Team_Work_Tasks\Anjali\Anjali_20160524\QuizApp_20160524_01_Anj\node_modules\gulp-sass\index.js:187:21)
    at Module._compile (module.js:541:32)
You have to deal with this regularly if you are using nvm to switch from one node version to another. THe explanations suggest you to read release information from github, but many of us do not find them useful or informative. Some solutions from the internet ask you to remove the node_modules directory and reinstall all packages using npm install but I find it time consuming and cause troubles if package.json is not clean with the packages version. Here is a solution I found from Jennifer Proust  which immediately fixes the problem and it is easy. It is a small command.
 npm rebuild node-sass
Or
sudo npm rebuild node-sass
This will take little time