DOCS: DigitalOcean Ubuntu 14.04 x64 Requirement problem


  • Once the initial dependencies of NodeBB are installed(Such as nodejs, build-essentials, etc.), npm deps install for "hiredis" spews errors and warnings due to /bin/sh/node not found.
    I created a softlink to node from nodejs with 'ln -s /usr/bin/nodejs /usr/bin/node'
    --Not sure if this would be of help to anyone. Looks like installing nodejs from the ubuntu repo doesn't create a node exec. Is this on purpose? Installing 'node' from ubuntu repos doesn't help either. I believe it's different software entirely. Hope this helps someone somewhere.

    hiredis@0.1.17 install /usr/share/nodebb/node_modules/reds/node_modules/redis/ node_modules/hiredis
    node-gyp rebuild
    /bin/sh: 1: node: not found

  • Plugin & Theme Dev

    Isn't hiredis no longer a dependency?

    Question for the devs, does this finally mean that all the dependencies are crossplatform compatible?

  • GNU/Linux Admin

    @Schamper Eh, not really... the last two are socket.io-client, which needs compilation, and hiredis, which is installed when you select redis as your database.

    Note that it fails on a windows install, but because hiredis is not required for redis to function (it only speeds it up), Windows NodeBB installs still work fine.

    The newest socket.io should help, since the client doesn't need to be compiled anymore... I think.

  • Plugin & Theme Dev

    @julian alright, will keep an eye on that.

    It helps that hiredis is no longer on the package dependency list, I can try to install NodeBB on an Azure website again 😛

Suggested Topics

| |