【问题标题】:Metaplex dockerized dev server crash randomlyMetaplex dockerized 开发服务器随机崩溃
【发布时间】:2021-12-30 17:29:17
【问题描述】:

在我的 MacOs 上,我使用 metaplex 设置 docker 容器(更多设置细节在这个较旧的独立 question 中)开发环境(webpack,react) - 当我更改代码中的某些内容或不更改任何内容时,随机(通常在 1-2 分钟后)出现以下错误:

@oyster/common: 5:05:37 PM - Found 0 errors. Watching for file changes.
web: Killed
web: error Command failed with exit code 137.
web: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
lerna ERR! yarn run start exited 137 in 'web'
lerna WARN complete Waiting for 1 child process to exit. CTRL-C to exit immediately.
error Command failed with exit code 137.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

这个错误会杀死 docker 容器并且页面停止工作 - 我无法工作。如何解决?

【问题讨论】:

    标签: docker webpack apple-m1


    【解决方案1】:

    经过一番研究,我终于found 原因 - 没有足够的 RAM 内存。将 RAM 内存从 2GB 增加到 3GB 后问题消失(我还将交换文件从 1 增加到 2GB)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-05-06
      • 2023-01-03
      • 1970-01-01
      • 1970-01-01
      • 2020-05-21
      相关资源
      最近更新 更多