Error After Install
-
What OS and what version of said OS?
-
Well I just tried to do a fresh install and now when I run the
npm i --production
I get:
Killed ..] / extract:nodebb-theme-persona: sill gunzTarPerm extractEntry test/less/errors/mixed-mixin-definition-args-2.txt child_process.js:524 throw err; ^ Error: Command failed: npm i --production at checkExecSyncError (child_process.js:481:13) at Object.execSync (child_process.js:521:13) at Object.<anonymous> (/home/james/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:389:7)
(but mongodb is working)
-
You might try increasing the available memory or adding swap space.
-
Well now the site is live but the default theme is all fucked. http://exo.slatt.in/
-
Try running
./nodebb build
-
Hmmm. Well if you're running it with
sudo
then that could cause issues. Try running it with :4567 first. -
Just did this:
root@nodebb:/home/james/nodebb# ./nodebb build [deprecated] `String.prototype.rtrim` is deprecated as of NodeBB v1.5; use `utils.rtrim` instead. 3/7 06:44:03 [1878] - info: [build] Building in parallel mode 3/7 06:44:03 [1878] - info: [build] plugin static dirs build started 3/7 06:44:03 [1878] - info: [build] requirejs modules build started 3/7 06:44:03 [1878] - info: [build] client js bundle build started 3/7 06:44:03 [1878] - info: [build] admin js bundle build started 3/7 06:44:03 [1878] - info: [build] client side styles build started 3/7 06:44:03 [1878] - info: [build] admin control panel styles build started 3/7 06:44:03 [1878] - info: [build] templates build started 3/7 06:44:03 [1878] - info: [build] languages build started 3/7 06:44:03 [1878] - info: [build] sounds build started 3/7 06:44:03 [1878] - info: [build] plugin static dirs build completed in 0.043sec 3/7 06:44:09 [1878] - info: [build] client js bundle build completed in 5.253sec 3/7 06:44:09 [1878] - info: [build] admin js bundle build completed in 5.249sec 3/7 06:44:09 [1878] - info: [build] sounds build completed in 5.452sec 3/7 06:44:17 [1878] - info: [build] admin control panel styles build completed in 13.331sec 3/7 06:44:19 [1878] - info: [build] requirejs modules build completed in 15.536sec 3/7 06:44:19 [1878] - info: [build] client side styles build completed in 15.53sec 3/7 06:44:19 [1878] - info: [build] templates build completed in 15.974sec 3/7 06:44:20 [1878] - info: [build] languages build completed in 16.966sec 3/7 06:44:20 [1878] - info: [build] Asset compilation successful. Completed in 17.007sec. root@nodebb:/home/james/nodebb# ./nodebb restart
New Port
Still broken
-
@jamslatt looks like you just fixed it. What happened?
-
I had the same problem when I was playing with NodeBB on a $2.5 vps from Vultr (=512MB ram).
htop
shows me that build process uses all available ram and cpu. Deploying on a decent machine/vps would solve the problem, aternatively, I called build steps one at a time ( eg./nodebb build languages
,./nodebb build 'client side styles'
etc) . Hope this helps.