【问题标题】:nvm-windows has failed to run the latest nodejs version 8.11.2nvm-windows 无法运行最新的 nodejs 版本 8.11.2
【发布时间】:2018-05-28 13:15:10
【问题描述】:

我已经使用 nvm-window 工具成功安装了 nodejs v6.11.4(旧版本),但是对于最新的 nodejs 版本却失败了。安装 v8.11.2 时出现此错误。如屏幕截图所示。 nvm install errors

Downloading node.js version 8.11.2 (64-bit)...
Error while downloading https://nodejs.org/dist/v8.11.2/win-x64//node.exe - stream error: stream ID 7; INTERNAL_ERROR

当我尝试运行 node -v 命令来检查 nodejs 版本时。这是我得到的错误。

Program 'node.exe' failed to run: The specified executable is not a valid application for this OS platform.At line:1

【问题讨论】:

    标签: node.js


    【解决方案1】:

    终于在这个node js版本v8.11.3 lts发布的时候问题解决了。 我现在可以使用我的 npm 来安装 nodejs 模块了。

    PS C:\Users\goldsoft25\AppData\Roaming\nvm> nvm list
    8.11.3 
    

    * 6.11.4 (Currently using 64-bit executable)

    【讨论】:

      猜你喜欢
      • 2020-11-11
      • 1970-01-01
      • 2018-10-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多