i can not install nodebb
-
As I understand it, installing nodejs pulls in npm, so there's no need to install npm separately.
Your command should read
apt-get install nodejs redis-server build-essential imagemagick
. The system said you have git installed already, so no need to have it in the command. -
@sunqi did you run
npm install
? and if so did you run into any errors -
@psychobunny oh thanks..i run npm install already and run node app,
info: This looks like a new installation, so you'll have to answer a few q
ns about your environment before we can proceed.info: Press enter to accept the default setting (shown in brackets). URL of this installation (http://localhost) http://sunqi Port number of your NodeBB (4567) Use a port number to access NodeBB? (y) IP or Hostname to bind to (0.0.0.0) Which database to use (redis) Host IP or address of your Redis instance (127.0.0.1) Host port of your Redis instance (6379) Password of your Redis database 12345678 Which database to use (0..n) (0) info: Configuration Saved OK info: Populating database with default configs, if not already set... error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED warn: NodeBB Setup Aborted.
hope u can help me ,i'm a green hand
-
Just copy and paste that into your terminal that is if you're running on a unix or unix-like system (Ubuntu, mint, centos etc.) if on a Mac, you have to install those packages with brew.