I had the same problem when I was playing with NodeBB on a $2.5 vps from Vultr (=512MB ram). htop shows me that build process uses all available ram and cpu. Deploying on a decent machine/vps would solve the problem, aternatively, I called build steps one at a time ( eg ./nodebb build languages , ./nodebb build 'client side styles' etc) . Hope this helps.
installation troubles, packages failing
Trying to install everything strictly after the guide at https://docs.nodebb.org/installing/os/windows/ (yes, I am on windows), the installation step keeps throwing me into errors.
noteably the nodebb-plugin-emoji-android package just doesn't want to install, be that the version that it expected (run via
nodebb setup) or attempting to manually run
npm install nodebb-plugin-emoji-android@latestbut fail.
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: firstname.lastname@example.org npm ERR! Found: email@example.com npm ERR! node_modules/textcomplete npm ERR! textcomplete@"^0.17.1" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer textcomplete@"^0.14.2" from firstname.lastname@example.org npm ERR! node_modules/textcomplete.contenteditable npm ERR! textcomplete.contenteditable@"^0.1.1" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! See C:\Users\...\AppData\Local\npm-cache\eresolve-report.txt for a full report. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\...\AppData\Local\npm-cache\_logs\2021-04-06T15_30_09_718Z-debug.log
Happy to hear any kind of suggestion! Would love to get this to work, looks really promising compared to other solutions I've seen so far.