【问题标题】:Error: Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (72)错误:Node Sass 尚不支持您当前的环境:Linux 64-bit with Unsupported runtime (72)
【发布时间】:2019-12-07 12:29:12
【问题描述】:

错误:Node Sass 尚不支持您当前的环境:Linux 64-bit with Unsupported runtime (72)

我在使用最新版本的 node.js 时遇到了这个问题,即 12.6.0 和 npm 版本 6.9.0。

node-sass 的哪个版本与上述 node 和 npm 版本兼容。

node-sass 版本:4.5.3

【问题讨论】:

    标签: node.js gulp npm-install node-sass


    【解决方案1】:

    运行这个命令来解决这个问题。

    npm install --save-dev node-sass
    

    【讨论】:

      【解决方案2】:
      【解决方案3】:

      使用以下命令:

      npm rebuild node-sass
      

      您可能从 Windows 或 OSX 系统复制了 node_modules。重建它会为您的系统构建正确的版本。

      【讨论】:

      • 这失败得很惨——错误太多了!吉普错误! ChildProcess.emit (events.js:209:13) 的堆栈 gyp ERR!堆栈在 Process.ChildProcess._handle.onexit (internal/child_process.js:272:12) gyp ERR!系统 Linux 4.19.0-6-amd64 gyp ERR!命令 "/usr/bin/node" "/home/sobs/node_modules/node-gyp/bin/node-gyp.js" "重建" "--verbose" "--libsass_ext=" "--libsass_cflags=" " --libsass_ldflags=""--libsass_library="gyp 错误! cwd /home/sobs/node_modules/node-sass gyp 错误!节点 -v v12.10.0 gyp 错误!节点-gyp -v v3.8.0 gyp 错误!不好构建失败,错误代码:1
      • @muztheaxe - Node 中的每个错误看起来都失败得很惨,输出如此之多,红色ERR。虽然,这个错误显示不多。是摘录吗?
      • 我必须得到一些帮助才能解决这个问题。这是所有内容的全新安装,但是它是 Debian 9 而不是 Debian 10。我们再次(从全新安装)开始使用 Debian 10,然后就可以了。
      猜你喜欢
      • 2018-10-22
      • 1970-01-01
      • 2021-02-10
      • 2019-04-22
      • 1970-01-01
      • 1970-01-01
      • 2020-05-20
      • 2021-02-15
      • 2019-02-14
      相关资源
      最近更新 更多