markdown 修复“Node Sass尚不支持您当前的环境”错误

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown 修复“Node Sass尚不支持您当前的环境”错误相关的知识,希望对你有一定的参考价值。

### The Error

```
 => gulp watch
/Users/noxlady/Sites/corpwatch/sites/all/themes/corpwatch/node_modules/node-sass/lib/binding.js:13
      throw new Error(errors.unsupportedEnvironment());
      ^

Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (67)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.9.4
    at module.exports (/Users/noxlady/Sites/corpwatch/sites/all/themes/corpwatch/node_modules/node-sass/lib/binding.js:13:13)
    at Object.<anonymous> (/Users/noxlady/Sites/corpwatch/sites/all/themes/corpwatch/node_modules/node-sass/lib/index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:707:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:718:10)
    at Module.load (internal/modules/cjs/loader.js:605:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:544:12)
    at Function.Module._load (internal/modules/cjs/loader.js:536:3)
    at Module.require (internal/modules/cjs/loader.js:643:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> (/Users/noxlady/Sites/corpwatch/sites/all/themes/corpwatch/node_modules/gulp-sass/index.js:162:21)
    ```
    
### The Fix:
`npm install` didn't do it. Instead, use `npm rebuild node-sass`. It takes several minutes, but afterwards `gulp watch` works again! (Solutions found on [Medium.com](https://medium.com/@proustibat/how-to-fix-error-node-sass-does-not-yet-support-your-current-environment-os-x-64-bit-with-c1b3298e4af0))

以上是关于markdown 修复“Node Sass尚不支持您当前的环境”错误的主要内容,如果未能解决你的问题,请参考以下文章

错误:Node Sass 尚不支持您当前的环境:Windows 64-bit with false

Heroku 在构建过程中失败并出现错误:Node Sass 尚不支持您当前的环境:Linux 64-bit with Unsupported runtime (93)

markdown 图像修复技术综述

markdown 修复Vue包版本不匹配

markdown 修复了奇怪的吞咽错误

markdown [修正] Gulp问题修复