Upgrading to 0.5.3

General Discussion

Suggested Topics


  • 0 Votes
    5 Posts
    276 Views

    It is dangerous to run nodebb this way. Do so at your own risk.

    I'm not sure exactly what is causing that npm error, but it's not a NodeBB bug. I suggest you look it up yourself.

  • 0 Votes
    8 Posts
    2k Views

    I just fixed the errors I was getting when I run npm i

    This is how I did (for future reference purposes):

    Fixing the "missing mongodb" error: 21/2 14:45 [3950] - error: Unable to initialize MongoDB! Is MongoDB installed? Error :Cannot find module 'mongodb' 21/2 14:45 [3950] - error: Error: Cannot find module 'mongodb' at Function.Module._resolveFilename (module.js:336:15) at Function.Module._load (module.js:278:25) at Module.require (module.js:365:17) at require (module.js:384:17)

    Fix: npm i mongodb

    Fixing the issue with unmet dependencies (as shown in my last post on this topic): npm WARN unmet dependency ~/forum/nodebbrepo/node_modules/lwip requires async@'~0.9.0' but will load npm WARN unmet dependency ~/forum/nodebbrepo/node_modules/async, npm WARN unmet dependency which is version 1.4.2 npm WARN unmet dependency ~/forum/nodebbrepo/node_modules/nconf requires async@'~0.9.0' but will load npm WARN unmet dependency ~/forum/nodebbrepo/node_modules/async, npm WARN unmet dependency which is version 1.4.2 npm WARN unmet dependency ~/forum/nodebbrepo/node_modules/redisearch requires async@'~0.9.0' but will load npm WARN unmet dependency ~/forum/nodebbrepo/node_modules/async, npm WARN unmet dependency which is version 1.4.2

    Fix: npm install <name of the module>

    Now when I run npm i, there no errors or warnings

    I hope those will help someone in the future.

    Now, let me go back to dealing with my original issue of the long-overdue upgrade 🙂

  • 0 Votes
    5 Posts
    2k Views

    @PitaJ Thanks you! Problem solved. Didn't look like NodeBB 1.3.0 i don't need to run ./nodebb build before i restart NodeBB

  • 2 Votes
    3 Posts
    2k Views

    Awesome, looking forward to that. Even more performance from the current architecture!! Love to see that. Although even now, the site screams.

  • 0 Votes
    4 Posts
    1k Views

    Yeah 0.5.0 isn't out yet, I just updated this forum to latest from master, -1 stands for RC 1.