You might need to activate one of the composers. The default composer should be activated, but perhaps it got deactivated by you? Give that a check.
How to install without Internet?
How can I install nodeBB without any Internet connection? I would like to set up a forum in our school's local network. I could get the ubuntu package images, but it's no way for me to connect to npm or github.
@realZ You'll want to:
- git clone the repo on to your own computer
- Also run
npm i mongodb connect-mongofor Mongo, or
npm i redis connect-redisfor Redis
node_modules/via tar (or winzip, really, anything works as long as the receiving end can decompress it)
- Copy the archive over to the server with no outside access to the internet
- Decompress the archive into the NodeBB installation directory
I followed the steps. However, when I tried to setup the forum from either web or command line, the following error occured:
11/9 15:27  - info: Now configuring redis database: Configuration Saved OK [email protected] node_modules/redis [email protected] node_modules/connect-redis └── [email protected] ([email protected]) Populating database with default configs, if not already set... module.js:522 var nodePath = process.env['NODE_PATH']; ^ Error: Module did not self-register. at Error (native) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Module.require (module.js:365:17) at require (module.js:384:17) at Object.<anonymous> (/home/NodeBB/node_modules/mmmagic/index.js:3:13) at Module._compile (module.js:460:26) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12)
No idea what's going on here.
Well, I just figure out that all I need to do is
npm rebuild, and I could proceed. However, when I tried to setup, it stucks here:
[email protected] node_modules/connect-redis └── [email protected] ([email protected]) Populating database with default configs, if not already set... Enabling default theme: Persona No categories found, populating instance with default categories
Does this need any Internet connection to continue?
@realZ It shouldn't require an internet connection....
Just do all the stuff from the scratch solve all the problem.