【发布时间】:2020-06-20 19:06:06
【问题描述】:
尝试运行 ng build 以便我可以将我的 /dist 文件夹托管在远程服务器上。 我已经很好地运行了 npm install,但是运行 ng build 不起作用 - 它每次都会中止。
它是这样说的:
ng build[3725390]: ../src/node_worker.cc:525:static void node::worker::Worker::StartThread(const v8::FunctionCallbackInfo<v8::Value>&): Assertion `(uv_thread_create_ex(&w->tid_, &thread_options, [](void* arg) { Worker* w = static_cast<Worker*>(arg); const uintptr_t stack_top = reinterpret_cast<uintptr_t>(&arg); w->stack_base_ = stack_top - (kStackSize - kStackBufferSize); w->Run(); Mutex::ScopedLock lock(w->mutex_); w->on_thread_finished_.Stop(); }, static_cast<void*>(w))) == (0)' failed.
1: 0x9aedf0 node::Abort() [ng build]
2: 0x9aee77 [ng build]
3: 0xa422cc [ng build]
4: 0xb8df76 [ng build]
5: 0xb8fe97 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) [ng build]
6: 0x13162b9 [ng build]
Aborted (core dumped)
节点版本-v12.6.0 角度版本-8.2.2
谢谢
【问题讨论】:
-
控制台中应该有更多信息...
-
这就是它在终止之前所说的全部内容。中止(核心转储)后什么都没有。如何查看额外信息?
标签: node.js angular npm node-modules