错误异常信息:
# 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 这个镜像就没问题了