【问题标题】:Multiple Errors when Running Bun via WSL通过 WSL 运行 Bun 时出现多个错误
【发布时间】:2022-07-08 02:19:43
【问题描述】:

我正在尝试使用 Bun 安装一些软件包,但遇到了麻烦:

$ bun install
error: Failed to initialize network thread: SystemOutdated.
HTTP requests will not work. Please file an issue and run strace().

这个问题有什么已知的解决办法吗?

【问题讨论】:

    标签: bun


    【解决方案1】:

    Bun 利用了一些仅在较新版本的 WSL 上可用的网络功能。您通常可以通过更新 WSL 版本来解决这些问题:

    wsl --update
    

    然后重新启动您的 WSL 虚拟机:

    wsl --shutdown
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-08-12
      • 2020-05-09
      • 2022-11-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多