The Googles has many suggestions for npm install no output
What is your OS and version of node and npm? npm --version && node --version
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:
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)
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.