title: vue build crashes ubuntu 18.04
body: <p>I have created an app which is built with nodejs and vue2. In the development process everything works fine and the testing server (npm run serve) makes no problem at all. Even the build runs on my local machine (MacBook with M1 chip) without a problem but when I try to run the build process on Ubuntu the system starts hanging and needs to be rebooted. I also had occasions where the build process started a fork pump and the server had to be shut down from the provider dashboard.</p>
  <p>I got the following output on the console before the system got stuck:</p>
  <pre><code>-  Building for production...
  /usr/local/bin/node[4781]: ../src/node_platform.cc:61:std::unique_ptr&lt;long unsigned int&gt; node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start(): Assertion `(0) == (uv_thread_create(t.get(), start_thread, this))' failed.
   1: 0xa24ed0 node::Abort() [/usr/local/bin/node]
   2: 0xa24f4e  [/usr/local/bin/node]
   3: 0xa9588e  [/usr/local/bin/node]
   4: 0xa95956 node::NodePlatform::NodePlatform(int, v8::TracingController*) [/usr/local/bin/node]
   5: 0x9f3416 node::InitializeOncePerProcess(int, char**) [/usr/local/bin/node]
   6: 0x9f3651 node::Start(int, char**) [/usr/local/bin/node]
   7: 0x7fd84016bbf7 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
   8: 0x98293c  [/usr/local/bin/node]
  </code></pre>
  <p>I then only got the following message in the terminal.</p>
  <pre><code>-bash: fork: retry: Resource temporarily
  </code></pre>
  <p>I'm on a Ubuntu 18.04.5 LTS (GNU/Linux 4.15.0 x86_64) with the following specs:</p>
  <ul>
  <li>CPU vCores    6</li>
  <li>RAM guaranteed    16 GB</li>
  <li>Storage space 300 GB</li>
  </ul>
  <p>The command <code>ulimit -u</code> returns <code>62987</code> which from my understanding should be good.</p>
  <p>Any help would be very much appreciated.</p>