Node.js won't run with AngularJS

Job ID: 37422337

Budget: $10 – $30 USD

Hello there,

Im experiencing a bug of node.js and AngularJS collaboration.

I run this example app locally, but when I upload to hosting server I found following error:

"
[opinionn@doiran .bin]$ cd /home/opinionn/HeraLens/Portal && /opt/cpanel/ea-nodejs16/bin/npm install

> angular-phonecat@0.0.0 postinstall
> npm run copy-libs


> angular-phonecat@0.0.0 copy-libs
> cpx "node_modules/{angular,angular-*,bootstrap/dist,jquery/dist}/**/*" app/lib -C

node[27463]: pthread_create: Resource temporarily unavailable
node:internal/modules/cjs/loader:1031
throw err;
^

Error: Cannot find module './main'
Require stack:
- /home/opinionn/HeraLens/Portal/node_modules/.bin/cpx
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1028:15)
at Function.Module._load (node:internal/modules/cjs/loader:873:27)
at Module.require (node:internal/modules/cjs/loader:1100:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (/home/opinionn/HeraLens/Portal/node_modules/.bin/cpx:70:5)
at Module._compile (node:internal/modules/cjs/loader:1198:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
at Module.load (node:internal/modules/cjs/loader:1076:32)
at Function.Module._load (node:internal/modules/cjs/loader:911:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/home/opinionn/HeraLens/Portal/node_modules/.bin/cpx' ]
}
npm ERR! code 1
npm ERR! path /home/opinionn/HeraLens/Portal
npm ERR! command failed
npm ERR! command sh -c -- npm run copy-libs

npm ERR! A complete log of this run can be found in:
npm ERR! /home/opinionn/.npm/_logs/2023-11-11T19_21_00_381Z-debug-0.log
"

Please help, thank you!