Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

adityakunhare's avatar

Npm run dev is showing a weird error on shared hosting

I have installed node and npm to my bluehost linux hosting manually.

composer update and install "WORKED"

npm install "WORKED"

npm run dev or prod is giving this

node[707]: ../src/node_platform.cc:61:std::unique_ptr<long unsigned int> node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start(): Assertion `(0) == (uv_thread_create(t.get(), start_thread, this))' failed.
 1: 0xb09980 node::Abort() [node]
 2: 0xb099fe  [node]
 3: 0xb78e9e  [node]
 4: 0xb78f66 node::NodePlatform::NodePlatform(int, v8::TracingController*) [node]
 5: 0xaccf49 node::InitializeOncePerProcess(int, char**, node::InitializationSettingsFlags, node::ProcessFlags::Flags) [node]
 6: 0xacd1f9 node::Start(int, char**) [node]
 7: 0x7f74c73d7555 __libc_start_main [/lib64/libc.so.6]
 8: 0xa400ec  [node]
Aborted

What could be the problem? Tried google alot but didn't get anything.

0 likes
2 replies
Braunson's avatar

Looks like Node crashed, likely due to too many processes/limited processes running on shared hosting. Likely due to limit on # of processes being imposed at runtime.

Suggesting that you run npm update/install and npm run prod locally then upload the generated assets for shared hosting.

adityakunhare's avatar

@braunson Sounds like a valid reason. But this is working as a replacement of npm run dev

node_modules/.bin/webpack --config=node_modules/laravel-mix/setup/webpack.config.js

Please or to participate in this conversation.