重新搭建开发环境,运行报错,日志如下:

Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (93)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.14.1
    at module.exports (E:\fsk\fsk-vue-customer\fsk-vue-customer\node_modules\_node-sass@4.14.1@node-sass\lib\binding.js:13:13)  
    at Object.<anonymous> (E:\fsk\fsk-vue-customer\fsk-vue-customer\node_modules\_node-sass@4.14.1@node-sass\lib\index.js:14:35)    at Module._compile (node:internal/modules/cjs/loader:1103:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.sassLoader (E:\fsk\fsk-vue-customer\fsk-vue-customer\node_modules\_sass-loader@7.0.3@sass-loader\lib\loader.js:24:22)

访问 https://github.com/sass/node-sass/releases/tag/v4.14.1

Supported Environments

OS Architecture Node
Windows x86 & x64 0.10, 0.12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
OSX x64 0.10, 0.12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
Linux* x86 & x64 0.10, 0.12, 1, 2, 3, 4, 5, 6, 7, 8**, 9**, 10**^, 11**^, 12**^, 13**^, 14**^
Alpine Linux x64 6, 8, 10, 11, 12, 13, 14
FreeBSD i386 amd64 10, 12, 13

对比node版本,找到报错原因,node版本过高与当前node-sass不兼容。

C:\Users\Administrator>node -v
v16.14.2

解决方案:重装高版本node-sass或者降低node版本至14以下

我选择重装node-sass,执行 cnpm install --save node-sass,适配版本为node-sass@7.0.1

PS E:\fsk\fsk-vue-customer\fsk-vue-customer> cnpm install --save node-sass
√ Installed 1 packages
√ Linked 138 latest versions
[1/1] scripts.install node-sass@latest run "node scripts/install.js", root: "E:\\fsk\\fsk-vue-customer\\fsk-vue-customer\\node_modules\\_node-sass@7.0.1@node-sass"
Downloading binary from https://cdn.npmmirror.com/binaries/node-sass/v7.0.1/win32-x64-93_binding.node
Download complete
Binary saved to E:\fsk\fsk-vue-customer\fsk-vue-customer\node_modules\_node-sass@7.0.1@node-sass\vendor\win32-x64-93\binding.node
[1/1] scripts.install node-sass@latest finished in 3s
[1/1] scripts.postinstall node-sass@latest run "node scripts/build.js", root: "E:\\fsk\\fsk-vue-customer\\fsk-vue-customer\\node_modules\\_node-sass@7.0.1@node-sass"
Binary found at E:\fsk\fsk-vue-customer\fsk-vue-customer\node_modules\_node-sass@7.0.1@node-sass\vendor\win32-x64-93\binding.node
Testing binary
Binary is fine
[1/1] scripts.postinstall node-sass@latest finished in 410ms
√ Run 1 scripts
√ All packages installed (97 packages installed from npm registry, used 11s(network 8s), speed 382.52KB/s, json 42(151.38KB), tarball 2.66MB, manifests cache hit 96, etag hit 96 / miss 0)

运行成功

Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runt相关推荐

  1. vue报错:Module build failed: Error: Node Sass does not yet support your current environment: Windows

    Module build failed: Error: Node Sass does not yet support your current environment: Windows 64-bit ...

  2. Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupport..

    **启动项目时出现Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsuppo ...

  3. vue 运行报错Module build failed: Error: Node Sass does not yet support your current environment: Windows

    卸载node-sass在安装 #1.卸载node-sass npm uninstall --save node-sass #2.安装node-sass npm install --save node- ...

  4. node - Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runt

    前言 该问题多数出现在 npm install 安装依赖与 npm run dev/server 运行项目时,根本原因就是 node-sass 版本问题. 终端完整报错信息如下: # SEO Synt ...

  5. Error: Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtim

    Error: Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtim ...

  6. Node Sass does not yet support your current environment: Windows 64-bit然如何解决,cnpm此问题解决方法

    Node Sass does not yet support your current environment: Windows 64-bit然如何解决,cnpm此问题解决方法 参考文章: (1)No ...

  7. 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 ...

  8. 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 ...

  9. 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 ...

最新文章

  1. 全球及中国N95级医用防护口罩市场销售规模与产量需求预测报告2022版
  2. postman中POST请求时参数包含参数list设置
  3. Spark action算子案例
  4. mysql编译和yum安装哪个好_Centos7下PHP源码编译和通过yum安装的区别和以后的选择...
  5. 鉴于最近想找女友的码农很多,特此提醒
  6. 游戏动画中欧拉角与万向锁的理解
  7. 终于掌握vim的寄存器和系统剪贴板的使用了- 要安装vim-X11包
  8. android fastboot驱动,fastboot驱动
  9. C3D实现ucf101人体行为识别代码知识总结
  10. PCB制作仿真、自制51板测试及性能改进
  11. java索引越界异常_如何处理Java数组索引越界异常?
  12. 前端英文首字母转大写
  13. ENSP和虚拟机如何连接
  14. 喜马拉雅自研网关架构演进过程
  15. 查询员工的薪水涨幅情况
  16. 关于app2sd、a2sd、data2sd、a2sd+的区别的解释(扫盲贴)
  17. Java 获取cron表达式的下次执行时间
  18. C语言头文件下载迅雷,LLVM汇编|clang llvm(C语言编译器)下载v3.4 免费版 - 欧普软件下载...
  19. D 创始人及员工,被批捕!这和 B站有啥关系?
  20. wfilters小波滤波器

热门文章

  1. SPSS如何进行均值比较和T检验之案例实训?
  2. mac上nasm环境
  3. 关于原码、反码、补码、和求补区别总结
  4. 这篇网站分享不容错过
  5. linux的nodejs艰辛之路
  6. 使用Zabbix监控Tomcat
  7. 【BEV】BEVDet
  8. python微信抢红包代码_用Python实现微信自动化抢红包,再也不用担心抢不到红包了...
  9. python--jieba分词、词性标注、关键词提取、添加自定义词典完整代码示例
  10. 硬件架构的艺术(一)