The link from the stack trace below helped me in resolving this issue.
Module build failed: Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (64)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.7.2
This link(https://github.com/sass/node-sass/releases/tag/v4.7.2
) clearly shows node versions which are supported.
OS Architecture Node
Windows x86 & x64 0.10, 0.12, 1, 2, 3, 4, 5, 6, 7, 8, 9
... ... ...
I was using node 10.15.3
which is clearly not supported. So,downgraded the node version to 8.11.1
, executed npm install
again. Got the following message.
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 8.x
Found bindings for the following environments:
- Windows 64-bit with Unsupported runtime (64)
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass --force` to build the binding for your current environment.
As suggested, ran npm rebuild node-sass --force
. And the issue was solved.
The link from the stack trace below helped me in resolving this issue.
Module build failed: Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (64)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.7.2
This link(https://github.com/sass/node-sass/releases/tag/v4.7.2
) clearly shows node versions which are supported.
OS Architecture Node
Windows x86 & x64 0.10, 0.12, 1, 2, 3, 4, 5, 6, 7, 8, 9
... ... ...
I was using node 10.15.3
which is clearly not supported. So,downgraded the node version to 8.11.1
, executed npm install
again. Got the following message.
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 8.x
Found bindings for the following environments:
- Windows 64-bit with Unsupported runtime (64)
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass --force` to build the binding for your current environment.
As suggested, ran npm rebuild node-sass --force
. And the issue was solved.
NodeJS Supported node-sass version *
Node 15 5.0+
Node 14 4.14+
Node 13 4.13+, < 5.0
Node 12 4.12+
Node 11 4.10+, < 5.0
Node 10 4.9+
Node 8 4.5.3+, < 5.0
Node < 8 < 5.0 < 57
13
Check file package.json
«node-sass»: «^4.14.1»,
«preboot»: «^4.5.2»,
«primeng»: «^4.3.0»,
«raw-loader»: «^0.5.1»,
«read-appsettings-json»: «^1.0.98»,
=> In my situation problem was in the version of node. As I used the newest version 16.6.4 but the version of node-sass was old (4.14.1), I downgraded node to 14.15.5 (nvm install 14.15.5), ran npm install node-sass@4.14.1, rebuilt node npm rebuild node-sass and just then started my app npm start. Worked!
Steps:
1.nvm install 14.15.5 (downgrade node to version that satisfies node-sass)
*https://nodejs.org/en/blog/release/v14.15.5
2.nvm use 14.15.5
3.npm install node-sass@4.14.1 (reinstall node-sass)
4.npm rebuild node-sass
5.npm start
After executing these commands everything is working fine for me.
Chu Xuân Tình
Follow us on Social Media
Error: Node Sass Does Not Yet Support Your Current Environment: Windows 64-Bit With Unsupported Runtime (93) With Code Examples
In this article, the solution of Error: Node Sass Does Not Yet Support Your Current Environment: Windows 64-Bit With Unsupported Runtime (93) will be demonstrated using examples from the programming language.
npm update node-sass
To solve the same problem as Error: Node Sass Does Not Yet Support Your Current Environment: Windows 64-Bit With Unsupported Runtime (93), you can also utilise the method that is discussed further down this page, along with several code samples.
npm rebuild node-sass
npm install --save-dev node-sass
npm update node-sass
npm rebuild -g node-sass
We have presented a wealth of illustrative examples to show how the Error: Node Sass Does Not Yet Support Your Current Environment: Windows 64-Bit With Unsupported Runtime (93) problem can be solved, and we have also explained how to do so.
- nvm install 14.15.5 (downgrade node to version that satisfies node-sass) *https://nodejs.org/en/blog/release/v14.15.5.
- nvm use 14.15.5.
- npm install [email protected] (reinstall node-sass)
- npm rebuild node-sass.
- npm start.
Is node Sass still supported?
Warning: LibSass and Node Sass are deprecated. While they will continue to receive maintenance releases indefinitely, there are no plans to add additional features or compatibility with any new CSS or Sass features.
Which software is used to install Node Sass in a node js environment?
Node-sass is a library that provides binding for Node. js to LibSass, the C version of the popular stylesheet preprocessor, Sass. It allows you to natively compile .
How do I check Sass version?
To check the version, run the command: sass –version. The latest version is 1.49.26-May-2022
How do I update Nodejs version?
- Update npm: To update NPM, use the following command: npm install -g npm. Output:
- To install latest version of node, use the following command.
- Check all the available version of node on the system: # nvm ls.
- Use a particular version # nvm use.
- Update npm to latest version: # npm install -g npm.
How can I update npm?
- npm -v. Upgrading on *nix (OSX, Linux, etc.)
- npm install -g npm@latest. Upgrading on Windows.
- npm config get prefix -g. If it isn’t set to :\Users\\AppData\Roaming\npm , you can run the below command to correct it:
- npm config set prefix %APPDATA%\npm -g.
- npm config set prefix %LOCALAPPDATA%\npm -g.
What can I use instead of node sass?
Top Alternatives to node-sass
- Sass. Sass is an extension of CSS3, adding nested rules, variables, mixins, selector.
- Webpack. A bundler for javascript and friends.
- PostCSS. PostCSS is a tool for transforming CSS with JS plugins.
- Compass.
- Animate.css.
- Less.
- Stylus.
- Autoprefixer.
How do I install Sass on Windows?
Install SASS on Windows Using Ruby Gems
- Open the Command Line (CMD) by pressing the Windows Key + R and type: CMD, then press Enter.
- Type the following command in the CMD: gem install sass. It will take a few seconds to install SASS. At the end you will see this in CMD. That’s it! SASS is now installed on your machine.
How do you check Sass is installed or not?
The “-v” command checks the version of SASS you have installed. If you don’t have it installed, it will come back as not installed.22-Nov-2019
Why Node Sass is required?
Node-sass is a library that provides binding for Node. js to libsass, the C version of the popular stylesheet preprocessor, Sass. It allows you to natively compile . scss files to css at incredible speed and automatically via a connect middleware.
Follow us on Social Media
Кароче
1. Проверяем версию node.js. Для этого в терминале прописываем команду node -v
2. Смотрим какая версия node sass совместима с вашей версией node.js здесь – https://www.npmjs.com/package/node-sass
3. Устанавливаем совместимую версию
Источник – https://stackoverflow.com/questions/64612707/node-sass-does-not-yet-support-your-current-environment-windows-64-bit-with-uns
Ссылка на Node 14.15.0 – https://nodejs.org/en/blog/release/v14.15.0
Подробнее
В процессе разработки веб-проектов, особенно при использовании препроцессоров CSS, таких как Sass, вы можете столкнуться с различными ошибками. Одной из таких ошибок является ‘Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime’. В этой статье мы рассмотрим, как решить эту проблему и продолжить работу над вашим проектом.
Проверка версии Node.js
Первым шагом для решения данной проблемы является проверка версии Node.js, которую вы используете. Выполните следующую команду в вашем терминале:
Эта команда выведет версию Node.js, которая установлена на вашем компьютере.
Совместимость с версией Node.js
Далее, вам необходимо определить, какая версия Node Sass совместима с вашей версией Node.js. Вы можете найти эту информацию на странице Node Sass на сайте npm: https://www.npmjs.com/package/node-sass.
Установка совместимой версии Node Sass
После того как вы определили совместимую версию Node Sass, вы можете установить ее с помощью команды npm. Например, если вы узнали, что совместимой версией является Node Sass версии 4.14.1, выполните следующую команду:
npm install node-sass@4.14.1 |
Эта команда установит совместимую версию Node Sass в вашем проекте.
Ошибка ‘Node Sass does not yet support your current environment’ может возникнуть при несовместимости версий Node.js и Node Sass. Проверьте версию Node.js, найдите совместимую версию Node Sass и установите ее в вашем проекте, как описано выше. Это позволит вам избежать данной ошибки и продолжить работу над вашим проектом.