too connection lost error

Technical Support

Suggested Topics


  • 0 Votes
    4 Posts
    337 Views

    MongoDB 4.2.7, nodejs 14.6.0, latest master from nodebb repo.

  • 1 Votes
    7 Posts
    1k Views

    It was rather trivial to add the error message, here is how:

    in uglify-js module, added a error reporting log to the file lib\parse.js in following method:

    function js_error(message, filename, line, col, pos) { console.log(message, filename, line, col, pos); throw new JS_Parse_Error(message, filename, line, col, pos); };

    Looks like the error handling of fault barrier doesn't do what it supposed to.

    @PitaJ Thank again for your help.

  • 0 Votes
    3 Posts
    999 Views

    ./nodebb build is probably faster than a full upgrade run.

  • 0 Votes
    5 Posts
    2k Views

    Sorry. Yes, I meant the NodeBB version. Node version is 4.2.4

    After I deleted node_modules I think what happened is that npm install didnt install mongo or mongo-connect. The error was a bit vague but reinstalling those two packages resolved the problem.

  • 0 Votes
    2 Posts
    2k Views

    I managed to fix this and thought I would post this here for posterity.

    I edited the file npm-shrinkwrap.json

    and replaced the code block on line 1159:

    "simple-recaptcha": { "version": "1.0.0", "from": "git://github.com/wzrdtales/simple-recaptcha.git#f408725106872df696436ff6a988923539ab80a6", "resolved": "git://github.com/wzrdtales/simple-recaptcha.git#f408725106872df696436ff6a988923539ab80a6" }

    with:

    "simple-recaptcha": { "version": "1.0.0", "from": "https://github.com/wzrdtales/simple-recaptcha/archive/v1.0.0.tar.gz", "resolved": "https://github.com/wzrdtales/simple-recaptcha/archive/v1.0.0.tar.gz" }