Tutorial REQUEST, NodeBB install/setup please!

January 26, 2018 1.4k views
MongoDB Ubuntu Ubuntu 16.04

I tried following this tutorial: https://docs.nodebb.org/installing/os/ubuntu/

The files it tells you install are outdated by several versions and I get stuck toward the end with ERRORS.

Could somebody PLEASE install it on a Droplet and write up a step by step.

3 comments
  • Hey there -- you'll need to provide more information. What files are outdated? This is the main installation guide for NodeBB and is tested often.

    Paste any errors you see, you need to provide actual actionable error messages and logging otherwise nobody will help you.

  • ./nodebb setup
    

    After initiating the setup script I got the following ERROR MESSAGE:

    Installing them now...
    
    
    > uws@0.14.5 install /root/nodebb/node_modules/uws
    > node-gyp rebuild > build_log.txt 2>&1 || exit 0
    
    
    
    child_process.js:516
        throw err;
        ^
    
    Error: Command failed: npm install --production
        at checkExecSyncError (child_process.js:473:13)
        at Object.execSync (child_process.js:513:13)
        at Object.installAll (/root/nodebb/src/cli/package-install.js:45:8)
        at Object.<anonymous> (/root/nodebb/src/cli/index.js:58:18)
        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.require (module.js:497:17)
    root@hostname:~/nodebb#
    
  • I think this is the part I was referring to as outdated:

    "This clones the NodeBB repository from the v1.5.x branch to your home directory."
    

    But it looks like someone has changed it since I last viewed it.

1 Answer
Have another answer? Share your knowledge.