Angular error: Node Sass does not yet support your current environment

Dung Do Tien Jun 25 2021 220

During your initial build command, most commonly when running npm install, I got an error similar to the following:

 Loading "listgrups.js" tasks...ERROR
>> Error: Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (72)
>> For more information on which environments are supported please see:
>> https://github.com/sass/node-sass/releases/tag/v4.11.0
Warning: Task "default" not found. Use --force to continue.

My project working with Angular 9.

How can I resolve it?

Have 4 answer(s) found.
  • T

    Trọng Hiếu Jun 25 2021

    Sometimes you need to uninstall and install node-sass library. You can try commands below:

    npm uninstall --save-dev node-sass

    and

    npm install --save-dev node-sass

    Hope it works!!

  • N

    Nikhil Bharadwaj Jun 25 2021

    I fixed this issue bug run command below:

    npm --depth 9999 update
    npm rebuild node-sass

    Hope it works for you.

  • V

    Việt Trọng Đỗ Jun 25 2021

    I ran command "yarn add node-sass" OR "npm add node-sass" and it worked for me

  • X

    Xhana Ahmetaj Jun 25 2021

    I don't know exactly why the issue throws but I know a simple command can fix this error :

    npm rebuild node-sass

    Hoping this will be useful for some developers.

Leave An Answer
* NOTE: You need Login before leave an answer

* Type maximum 2000 characters.

* All comments have to wait approved before display.

* Please polite comment and respect questions and answers of others.

Popular Tips

X Close