解决 Error: Node Sass does not yet support your current environment: OS X ...

简介: 解决 Error: Node Sass does not yet support your current environment: OS X ...
  • node 版本升级后,运行报错:
Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (64) For more information on which environments are supported please see
  • 解决方案一(推荐):
    1、卸载
$ npm uninstall --save node-sass
  • 2、清除缓存
$ npm cache clean -f
  • 3、重新安装
$ npm install --save node-sass
  • 解决方案二:
    直接升级 sass 版本,但是有可能会报错,因为缓存问题,所以推荐直接走 方案一
$ npm rebuild node-sass
相关文章
|
5月前
|
JavaScript Windows
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 1x.x
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 1x.x
38 0
|
8月前
解决 Error: Node Sass version 6.0.1 is incompatible with ^4.0.0.
解决 Error: Node Sass version 6.0.1 is incompatible with ^4.0.0.
403 0
|
4月前
|
Python
NPM【问题 01】npm i node-sass@4.14.1报错not found: python2及Cannot download问题处理
NPM【问题 01】npm i node-sass@4.14.1报错not found: python2及Cannot download问题处理
80 0
|
9月前
|
资源调度 Dart JavaScript
vue项目:Node Sass to Dart Sass
vue项目:Node Sass to Dart Sass
81 0
|
Dart
Node sass 切换成Dart Sass
参照:链接 注意:安装了sass后,sass-laoder的版本不能太高,否则会报 Syntax Error: TypeError: this.getOptions is not a function 我的版本对应关系如下: “sass”: “^1.49.9”, “sass-loader”: “^7.1.0”,
174 0
|
Dart JavaScript
Vue:Node Sass VS. Dart Sass
Vue:Node Sass VS. Dart Sass
|
Dart 前端开发 JavaScript
Node Sass 弃用,以 Dart Sass 代替
就在今天,Sass 官方团队正式宣布 Libsass 将弃用,以及基于它的 Node Sass 和 SassC,并且建议用户使用 Dart Sass。
Node Sass 弃用,以 Dart Sass 代替
|
JavaScript Windows
jeecg:Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js
jeecg:Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js
171 0
|
编解码 前端开发 JavaScript
技能学习:学习使用Node.js + Vue.js,开发前端全栈网站-13-2.sass工具的变量
上篇文章我们学习了如何在node + vue中安装sass工具,并对 嵌套 (nested rules) 功能做出了演示,本篇文章我们对sass工具的另一大功能 变量(variables) 进行学习和使用。
88 0
技能学习:学习使用Node.js + Vue.js,开发前端全栈网站-13-2.sass工具的变量
|
前端开发 JavaScript Ruby
技能学习:学习使用Node.js + Vue.js,开发前端全栈网站-13-1.使用sass工具搭建前台web端页面
Sass 是一款强化 CSS 的辅助工具,它在 CSS 语法的基础上增加了变量 (variables)、嵌套 (nested rules)、混合 (mixins)、导入 (inline imports) 等高级功能,这些拓展令 CSS 更加强大与优雅。使用 Sass 以及 Sass 的样式库(如 Compass)有助于更好地组织管理样式文件,以及更高效地开发项目。
160 0
技能学习:学习使用Node.js + Vue.js,开发前端全栈网站-13-1.使用sass工具搭建前台web端页面