Hey @rice
Error. Cannot find module 'request'
You have to run npm install after upgrading 🙂 This should also update your widgets plugin which will hopefully fix your widget issues as well
Hi @julian, @baris & anyone else working on this issue,
I need to reset a password and I found the post where you said you need to install the plugin to do so.
I ran npm install nodebb-plugin-emailer-mailgun
and then installed the plugin through the admin GUI. When I tried to run the code again, here's what I got:
Aarons-MacBook-Air-2:forum aaronclaytondunn$ node app
info: NodeBB v0.3.0 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:
info: Initializing NodeBB v0.3.0, on port 4567, using redis store at 127.0.0.1:6379.
info: NodeBB instance bound to: Any address (0.0.0.0)
info: No changes to client-side libraries -- skipping minification
info: NodeBB Ready
/Users/aaronclaytondunn/Documents/Code/forum/nodebb/forum/node_modules/redis/index.js:516
throw callback_err;
^
TypeError: Cannot read property 'categories' of undefined
at /Users/aaronclaytondunn/Documents/Code/forum/nodebb/forum/src/webserver.js:476:41
at Command.callback (/Users/aaronclaytondunn/Documents/Code/forum/nodebb/forum/src/categories.js:144:12)
at RedisClient.return_error (/Users/aaronclaytondunn/Documents/Code/forum/nodebb/forum/node_modules/redis/index.js:512:25)
at ReplyParser.<anonymous> (/Users/aaronclaytondunn/Documents/Code/forum/nodebb/forum/node_modules/redis/index.js:263:14)
at ReplyParser.EventEmitter.emit (events.js:95:17)
at ReplyParser.send_error (/Users/aaronclaytondunn/Documents/Code/forum/nodebb/forum/node_modules/redis/lib/parser/javascript.js:296:10)
at ReplyParser.execute (/Users/aaronclaytondunn/Documents/Code/forum/nodebb/forum/node_modules/redis/lib/parser/javascript.js:181:22)
at RedisClient.on_data (/Users/aaronclaytondunn/Documents/Code/forum/nodebb/forum/node_modules/redis/index.js:488:27)
at Socket.<anonymous> (/Users/aaronclaytondunn/Documents/Code/forum/nodebb/forum/node_modules/redis/index.js:82:14)
at Socket.EventEmitter.emit (events.js:95:17)
Thanks in advance for any help on this issue! I have no idea how to undo what I just did, so the local version of my app is broken right now. Thanks!
Hm... that's weird -- those line numbers don't point to anything, since our files don't match up anymore.
You can reset your nodebb (this just turns off all plugins, and resets the theme) by running ./nodebb reset
Hmmm...that didn't seem to reset it. Here's what I got when I ran that:
Aarons-MacBook-Air-2:forum aaronclaytondunn$ ./nodebb reset
Welcome to NodeBB
Usage: ./nodebb {start|dev|watch|language}
start Start NodeBB in production mode
dev Start NodeBB in development mode
watch Start NodeBB in development mode and watch for changes
upgrade Run NodeBB upgrade scripts, ensure packages are up-to-date
Oh, wow looks like your code is quite outdated. Can you let us know your git hash? Run git rev-parse HEAD
@julian Thanks for the help! Here's the result--
Aarons-MacBook-Air-2:forum aaronclaytondunn$ git rev-parse HEAD
c5c2d3e070224b8b5dc787ac7b2441b58c9cb5db
@julian Any idea when 4.0 will be available? What would you recommend I do in the meantime? Thanks!
No promises on 0.4x, but I would say under two weeks - if you need email functionality etc the most stable version of NodeBB currently is 0.3.2 so you'd have to drop down to that. Either that or get up to date and live on the Edge (Hopefully not a production forum!)
p.s. this community forum is running on Edge