Node Sass could not find a binding

错误示例

 error  in ./src/components/BaseLayout.vue?vue&type=style&index=0&id=49eec20b&lang=scss&scoped=true&Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Missing binding /Users/yunwisdom/Workspace/oa-front-service/node_modules/node-sass/vendor/darwin-x64-64/binding.node
Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 10.xFound bindings for the following environments:- OS X 64-bit with Node.js 10.xThis usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.at module.exports (/Users/yunwisdom/Workspace/oa-front-service/node_modules/node-sass/lib/binding.js:15:13)at Object.<anonymous> (/Users/yunwisdom/Workspace/oa-front-service/node_modules/node-sass/lib/index.js:14:35)at Module._compile (internal/modules/cjs/loader.js:776:30)at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)at Module.load (internal/modules/cjs/loader.js:653:32)at tryModuleLoad (internal/modules/cjs/loader.js:593:12)at Function.Module._load (internal/modules/cjs/loader.js:585:3)at Module.require (internal/modules/cjs/loader.js:690:17)at require (internal/modules/cjs/helpers.js:25:18)at getDefaultSassImpl (/Users/yunwisdom/Workspace/oa-front-service/node_modules/sass-loader/dist/index.js:198:10)at Object.loader (/Users/yunwisdom/Workspace/oa-front-service/node_modules/sass-loader/dist/index.js:80:29)

解决方法

npm rebuild node-sassnpm update

Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 10.x相关推荐

  1. Node Sass could not find a binding for your current environment

    typescript引入css直接报错: Node Sass could not find a binding for your current environment 具体错误如下: ERROR i ...

  2. 解决Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 14.x

    今天在新的开发环境检出nodejs的前端项目,运行npm run serve启动项目后报: > Node Sass could not find a binding for your curre ...

  3. Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js

    > Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 出现 ...

  4. Node Sass does not yet support your current environment: OS X Unsupported architecture (arm64)

    环境:Apple M1 BigSur | node.js v16.10.0 | npm v7.24.0 问题描述:Mac M1版本 node 16+版本 编译项目报错Node Sass不兼容arm64 ...

  5. Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (93)

    Vue 项目问题处理二 npm run dev 出现问题 vue 项目运行出现问题 Node Sass does not yet support your current environment: O ...

  6. Syntax Error: Error: Node Sass does not yet support your current environment: OS X Unsupported archi

    原因: node sass版本在当前环境运行不了. 解决方案: 1.卸载当前版本node sassnpm uninstall --save node-sass2.重新安装node sassnpm in ...

  7. Node Sass找不到您当前环境的绑定

    本文翻译自:Node Sass couldn't find a binding for your current environment I am having issues building an ...

  8. vue:关于vue服务启动num run serve报Error: Missing binding Node Sass could not find 问题

    报错日志为: Error: Missing binding ...\node_modules\node-sass\vendor\win32-x64-83\binding.node Node Sass ...

  9. node sass编译报错 记录

    很久之前得一个项目,久到遗忘了发版方式(源码和打包代码分离了之后发版的,嵌套在另一个项目内)...最近加了一个需求,不得不重新来触碰它. 找到代码,修改.编译...发现控制台报出了一大堆错误,找到核心 ...

最新文章

  1. 应用热启动(Ctrl+Alt+Delete)在显示频中进行监控的应用
  2. “赶上热词热概念,是我们不幸的一面” | 对话小冰公司CEO李笛
  3. 简单排序——冒泡排序,选择排序,插入排序,对象排序
  4. 管理之道(三) - 不要吝惜赞美
  5. HDU 6706 huntian oy (欧拉函数 + 杜教筛)
  6. origin设置不同区域的颜色_[测试狗]Origin入门教程(二十四):效率翻倍小技巧——修改默认字体...
  7. php快废了,PHP为什么要逐渐废弃一些函数?出于什么原因呢?
  8. 查看linux端口对应的进程id
  9. MVC Remote属性验证
  10. oracle字段怎么写,oracle修改字段名的语句怎么写_数据库,oracle,字段名
  11. Mac Mysql 基本操作命令
  12. thinkphp 又一问题
  13. 无源蜂鸣器c语言编程,无源蜂鸣器+LED
  14. 短信验证-SMSSDk(Mob开发平台 )
  15. 未能加载文件或程序集“Microsoft.Web.Infrastructure”
  16. srt字幕怎么导入视频 (视频字幕合并教程)
  17. 机器学习---推荐系统效果评估NDCG
  18. 小米频繁投资内容渠道 是回归理性还是曲线救赎
  19. RTKLIB ubuntu compile
  20. 实验六 可变分区存储管理实验

热门文章

  1. 中医与佛教共同推出的养生秘诀 100 条
  2. HTML5: 两个viewport的故事(第一部分)
  3. WordPress页面、文章、分类等的条件判断的标签集合
  4. 深度学习(batch,mini-batch,其它算法)
  5. 人工智障学习笔记——机器学习(1)特征工程
  6. 全排列及相关扩展算法(四)——原始中介数通过逆推求原排列算法
  7. const iterator 和const_iterator的区别
  8. LeetCode 167. Two Sum II - Input array is sorted
  9. Kubernetes—动态存储卷配置(StorageClass资源)(十二)
  10. 宠物商店 三层关系小结 显示宠物列表