I am trying to run ng serve command for my project , i tried npm i command for many times, but it showing same error continously. Node version is : v16.13.2 Npm version is : 8.4.1
- 
                    See if [this](https://stackoverflow.com/questions/37415134/error-node-sass-does-not-yet-support-your-current-environment-windows-64-bit-w) helps. – David R Mar 14 '22 at 06:42
2 Answers
Your Issue
The error you facing with running the application is issue with the SCSS compilation. Certain packages are missing related scss
Try - npm rebuild node-sass --force
If still doesn't work out, freshly recreate the project and follow standard installation of libraries related to scss.
Helping Link:
- Angular won't run my ng serve - Sass Loader error
- Node Sass does not yet support your current environment: Linux 64-bit with false
Standard Angular Issue Resolution
- Delete package-lock.json.
- Clear cache - npm cache clean --forceornpm cache clean -f
- Delete node_modulesfolder
- Reinstall dependencies - npm install
- Run the application - ng serve
 
    
    - 316
- 1
- 5
- 
                    npm rebuild node-sass --force not work for me. so i tried the standard angular issue resolution steps which you mention , but now i am getting error for npm install. – Aniket kute Mar 14 '22 at 07:27
- 
                    Then there isn't any problem with the `npm` or `node_modules`. It seems some imports are either deprecated or not resolved. I'll suggest to check with SASS support version and angular version's clashes on github. – Chirag Maniar Mar 15 '22 at 06:05
Please follow below steps to resolve this issue which worked in my case.
- Delete - node-sassfolder (..\- AppData\Roaming\npm-cache\node-sass),- node-modulesfolder and- package-lock.json
- Clear cache - - npm cache clean --force
- Reinstall - node-sassglobally -- npm i node-sass@4.13.1 --unsafe-perm=true --allow-root
- Reinstall project dependencies - - npm install -no-package-lock
- Start application - - ng serveor- npm start
This should update your node-sass global version. (please update version that you need to have as per your project)
 
    
    - 5,808
- 2
- 21
- 41
- 
                    When i try npm i node-sass@4.14.1 command , then it is taking lots of time and after some time socket timeout This is a problem related to network connectivity. error display. – Aniket kute Mar 15 '22 at 06:13
