You are RIGHT!!!
This problem really came from node version I installed in my laptop. To make "npm link" without sudo I was using nvm to install NodeJS and I forgot to select version 12.17.0.
Great teams. Thanks a lot!
Just wondering what people are running their NodeBB's on. Let us know if you're using Redis or Mongo, and your specs
My development (Koding) VM is 3GB storage and what looks like 16gb of RAM (albeit not very reliable, but it works). Installed on Redis, but I'm seeing signs that mongoDB is the way to go in terms of scaling. Will be keeping a close eye on this thread as I get closer to a roll out date and ensure I get everything right first time.
digitalocean vm with 1gb ram, ssd disk, 1 cpu
One of the old Kimsufi 2G builds they did last year. 1.2GHz, 500GB, 2GB ram, 100Mb/s.
Anyone running on a Raspberry Pi?
@scuzz I'd love to have somebody running NodeBB on a raspberry pi. Imagine combining it with an ad-hoc wireless network in an area of political unrest. Instant communication without facebook/twitter!
Looks completely feasible!
I have my Raspberry Pi running Openelec at the moment. I'll try and get my hands on another SD card an i'll try out NodeBB. Might be useful for a dev environment.
Hey @Scuzz is the Raspberry Pi pretty good with NodeBB?
@dark_hunter In my limited experience, v0.3.2 runs fairly well on the Pi. I have not tried the latest edge version, but I may as well give it a shot now. Will report back.
@Dark_Hunter I haven't tried yet. I want to get a second SD card before I try.
Tested NodeBB on an RPi this morning -- cold load reduced to 2s. I did some more optimizing today that should reduce it further, hopefully.
For reference, desktop browsing of NodeBB usually loads in 1.6-1.9 seconds depending on connection/ping/etc. Thanks to the refactoring done by @psychobunny, we are now able to report that NodeBB runs fairly well on the Pi!
NodeBB works wonders on an Rpi in my opinion.
I haven't tested any workload though. Would be interesting to do some benchmarking.
@psychobunny what is the hardware specs on this installation? And how much load does it have with this userbase?
This server is a potato. 512MB RAM... and the three of us run our dev on this server, and run quite a few other sites (ex. our NodeBB blog, my blog, etc). If this site ever hangs, it's because one of us (likely me) nibbed out and tried to run code that resulted in infinite loops We're thinking of upgrading maybe, and putting this forum on its own... we're pretty proud of how fast NodeBB runs but really aren't showcasing that as much as we can atm
@julian What OS did you use on the Pi to get nodebb running, as I'm seeing reports that ubuntu ist not supported, I've never bothered trying to install a proper distro, I always used Raspbmc for movies and the like.
Edit, found on github you used Raspbian, so got that pon the download. Also, the new B+, looks great. However not sure 4 USBs will work off the 5v power.
Writing a guide as I do this for the documentation.
@a_5mith Any version you can install node.js on should be fine.
@Scuzz Grand, 4 minutes left on the Raspbian download, just hope that it recognises my Wireless USB like Raspbmc did.
@a_5mith I was looking at running Node.js on my RPi but i didnt want a full blown gui taking up ram and processing power.
Arch might be useful as it's extremely light weight and only CLI unless you install a GUI.
@Scuzz Hit a mild stumbling block on raspbian, need a keyboard. May try something different.
@a_5mith isnt SSH enabled by default?
@Scuzz I use a wireless Dongle for my Pi, which needs connecting to the network. I could probably do it headlessly by plugging it in next to the router though.