On mac(10.9), during npm app --setup, I got "could-not-read-config"
node app --setup
info: NodeBB v0.1.1 Copyright (C) 2013 DesignCreatePlay Inc.
info: This program comes with ABSOLUTELY NO WARRANTY.
info: This is free software, and you are welcome to redistribute it under certain conditions.
info: NodeBB Setup Triggered via Command Line
info: Welcome to NodeBB!
info: This looks like a new installation, so you'll have to answer a few questions about your environment before we can proceed.
info: Press enter to accept the default setting (shown in brackets).
URL of this installation (http://localhost)
Port number of your NodeBB (4567)
Use a port number to access NodeBB? (y)
Please enter a NodeBB secret (fb4c3de5-988c-4bec-a31c-60b4506ca44b)
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
Which database to use (0..n) (0)
info: Configuration Saved OK
info: Populating database with default configs, if not already set...
[Error: could-not-read-config] (I had to add console.log(err) in install.js)
warn: NodeBB Setup Aborted.
Author: Baris Soner Usakli [email protected]
Date: Wed Dec 18 19:23:11 2013 -0500
closes #666, the issue of the beast