docker 运行node18 异常解决

错误异常信息:

 
  #  node[1]: std::unique_ptr<long unsigned int> node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start() at ../src/node_platform.cc:68
  #  Assertion failed: (0) == (uv_thread_create(t.get(), start_thread, this))
 
----- Native stack trace -----
 
 1: 0xdf4a07 node::Assert(node::AssertionInfo const&) [node]
 2: 0xe7919e node::WorkerThreadsTaskRunner::WorkerThreadsTaskRunner(int) [node]
 3: 0xe7927c node::NodePlatform::NodePlatform(int, v8::TracingController*, v8::PageAllocator*) [node]
 4: 0xdac1cd  [node]
 5: 0xdad724 node::Start(int, char**) [node]
 6: 0x7fa56225a1ca  [/lib/x86_64-linux-gnu/libc.so.6]
 7: 0x7fa56225a285 __libc_

解决办法:

centos上不能直接From node:18.16这样,略坑,用 node:18.16-bullseye-slim 这个镜像就没问题了

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值