Is installing NodeBB on Windows 10 Possible?

Solved Technical Support

Suggested Topics


  • 0 Votes
    4 Posts
    1k Views
  • Debug Nodebb load

    Technical Support
    0 Votes
    15 Posts
    2k Views

    @damian-gądziak Maybe you can try to debug by adding this in that function console.log(tids.length, uid, new Error('test').stack);

    Topics.filterWatchedTids = function (tids, uid, callback) { console.log(tids.length, uid, new Error('test').stack); async.waterfall([ function (next) { db.sortedSetScores('uid:' + uid + ':followed_tids', tids, next); }, function (scores, next) { tids = tids.filter(function (tid, index) { return tid && !!scores[index]; }); next(null, tids); }, ], callback); };

    I am guessing the function is called by a huge amount of tids, so the next step would be to find out why and from where.

  • 0 Votes
    5 Posts
    3k Views

    @PitaJ

    run:
    sudo chmod 777 .npm/source-map/

    then npm install again:
    $ npm install
    npm WARN deprecated [email protected]: Please upgrade to 2.2.19 or higher
    npm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.
    npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
    npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
    npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
    [email protected] node_modules/require_optional/node_modules/semver -> node_modules/semver
    [email protected] /Applications/XAMPP/xamppfiles/htdocs/NodeBB

    though still have warning, but installed succeed. Thanks very much! I will go for next steps.

  • 0 Votes
    12 Posts
    4k Views

    Hugs? 🍺 ? Those can be free

  • 0 Votes
    8 Posts
    4k Views

    Ok, I installed Git, now the command works. Currently cloning... and finally installing dependencises... and I received these erros:

    It also ask me now for a redis database name. What should I write for it?

    npm WARN deprecated [email protected]: lodash@<2.0.0 is no longer maintained. Upgrade to lodash@^3.0.0
    npm WARN deprecated [email protected]: lodash@<2.0.0 is no longer maintained. Upgrade to lodash@^3.0.0

    buffe[email protected] install /Users/Dakoom/NodeBB/node_modules/bufferutil
    node-gyp rebuild

    xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

    xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

    CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
    SOLINK_MODULE(target) Release/bufferutil.node

    utf-8-validat[email protected] install /Users/Dakoom/NodeBB/node_modules/utf-8-validate
    node-gyp rebuild

    xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

    xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

    CXX(target) Release/obj.target/validation/src/validation.o
    SOLINK_MODULE(target) Release/validation.node

    h[email protected] install /Users/Dakoom/NodeBB/node_modules/heapdump
    node-gyp rebuild

    xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

    xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

    CXX(target) Release/obj.target/addon/src/heapdump.o
    SOLINK_MODULE(target) Release/addon.node

    EDIT: Ok, installed. Then I suppose that when I entered the db name it automatically created it. Ok, I have it installed and I'll try it a little bit! 🙂 Thank you all for your suggestions!