Tutorial: Install NodeBB on DigitalOcean/Ubuntu 20.04
-
Interested in installing NodeBB? The good news is that NodeBB is free and open-source forum software, so anybody can install and set it up, even you! This tutorial will help you get started in no time flat.
This is an updated post, with commands and best-practices updated to work with Ubuntu 20.04. View the original post for Ubuntu 18.04 here.
Click here to see the full blog post
-
I tried this installation and it did not work.
root@nodebb:~/nodebb# ./nodebb setup Dependencies outdated or not yet installed. Installing them now... /bin/sh: 1: npm: not found Error installing dependencies! message: Command failed: npm install --omit=dev stdout: null stderr: null /root/nodebb/src/cli/package-install.js:138 throw e; ^ Error: Command failed: npm install --omit=dev at checkExecSyncError (child_process.js:601:13) at Object.execSync (child_process.js:641:13) at Object.pkgInstall.installAll (/root/nodebb/src/cli/package-install.js:129:9) at Object.<anonymous> (/root/nodebb/src/cli/index.js:58:18) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3) at Module.require (module.js:596:17)
-
@julian said in Tutorial: Install NodeBB on DigitalOcean/Ubuntu 20.04:
@ddos you didn't install node.js, that's necessary for installation of NodeBB. (That's step 4 by the way)
Thanks @julian
I did install node.js as outlined by the tutorial, now I'm presented with ....
npm ERR! typeerror Error: Missing required argument #1 npm ERR! typeerror at andLogAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:31:3) npm ERR! typeerror at fetchPackageMetadata (/usr/share/npm/lib/fetch-package-metadata.js:51:22) npm ERR! typeerror at resolveWithNewModule (/usr/share/npm/lib/install/deps.js:456:12) npm ERR! typeerror at /usr/share/npm/lib/install/deps.js:457:7 npm ERR! typeerror at /usr/share/npm/node_modules/iferr/index.js:13:50 npm ERR! typeerror at /usr/share/npm/lib/fetch-package-metadata.js:37:12 npm ERR! typeerror at addRequestedAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:82:5) npm ERR! typeerror at returnAndAddMetadata (/usr/share/npm/lib/fetch-package-metadata.js:117:7) npm ERR! typeerror at pickVersionFromRegistryDocument (/usr/share/npm/lib/fetch-package-metadata.js:134:20) npm ERR! typeerror at /usr/share/npm/node_modules/iferr/index.js:13:50 npm ERR! typeerror This is an error with npm itself. Please report this error at: npm ERR! typeerror <http://github.com/npm/npm/issues> WARN engine [email protected]: wanted: {"node":">=12.22.0"} (current: {"node":"8.10.0","npm":"3.5.2"}) npm ERR! Please include the following file with any support request: npm ERR! /root/nodebb/npm-debug.log Error installing dependencies! message: Command failed: npm install --omit=dev stdout: null stderr: null /root/nodebb/src/cli/index.js:63 throw e; ^ Error: Command failed: npm install --omit=dev at checkExecSyncError (child_process.js:601:13) at Object.execSync (child_process.js:641:13) at Object.pkgInstall.installAll (/root/nodebb/src/cli/package-install.js:129:9) at Object.<anonymous> (/root/nodebb/src/cli/index.js:20:19) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3) at Module.require (module.js:596:17)
-
-
Copyright © 2024 NodeBB | Contributors