NodeBB on heroku
-
Hey guys.
I'm trying to install NodeBB on heroku with Mongolab or MongoHQ database providers. My database is correctly setup, but when I try and launch the app via
node app
, I get the following error :error: Error creating index text search not enabled info: [themes] Compiling templates error: path must be a string TypeError: path must be a string at Object.fs.readdir (fs.js:649:11) at Object.module.exports.utils.walk (/dev/nodebb/public/src/utils.js:37:7) at compileTemplates (/dev/nodebb/src/middleware/index.js:85:8) at /dev/nodebb/src/middleware/index.js:226:4 at /dev/nodebb/src/plugins.js:468:5 at /dev/nodebb/node_modules/async/lib/async.js:119:25 at /dev/nodebb/node_modules/async/lib/async.js:24:16 at /dev/nodebb/src/plugins.js:465:6 at /dev/nodebb/node_modules/async/lib/async.js:111:13 at Array.forEach (native)
I have no error when using redistogo, but I really don't want to use redis for a forum application.
EDIT: Hmm nevermind, I get the same error when using redis (minus the
error: Error creating index text search not enabled
part). -
Doesn't seem like there's a problem with mongo or redis, but your themes. I haven't personally installed on Heroku before so I'm not sure if there's something special you have to do to those directories? The two relevant directories are
node_modules/nodebb-theme-vanilla node_modules/nodebb-theme-lavender
I guess double check and see if they exist?
-
@psychobunny Thanks for your reply!
Those directories do exist, I've simply cloned the git repository of ghost, then
npm install
,node app --setup
thennode app
. -
I'm going to have to jump on to heroku and try and figure this out. Filed an issue, pls keep updated @ https://github.com/designcreateplay/NodeBB/issues/1490
Edit:
I've simply cloned the git repository of ghost
I'm assuming this is a typo here if not, I could understand why it doesn't work rofl - kidding, obviously a NodeBB stack trace
-
Whoops, my tongue slipped.