fails to install during dependencies being installed
-
#root@vps3778-7s5di:~/nodebb# ./nodebb setup
Dependencies not yet installed.
Installing them now...
Killed.............] / fetchMetadata: sill mapToRegistry uri https://registry.npmjs.org/xregexp
child_process.js:515
throw err;
^list itemError: Command failed: npm i --production
at checkExecSyncError (child_process.js:472:13)
at Object.execSync (child_process.js:512:13)
at Object.<anonymous> (/root/nodebb/nodebb:17:9)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:383:7)
root@vps3778-7s5di:~/nodebb#thanks in advance
-
Make sure you have at least 512 MB of memory (RAM or swap)