Hello! I'm just getting started with nodebb and ran into some trouble while making a custom theme. The theme I'm making is based on the Vanilla theme. My first attempt at making the theme was to
- Copy the Vanilla theme files from /node_modules/nodebb-theme-vanilla to /node_modules/nodebb-theme-mytheme
- Change the theme name in plugin.json, package.json, and theme.json.
- Restart nodebb
This didn't work very well, so I deleted my custom theme directory and started over. My second attempt went better. This time I cloned the Vanilla theme repo into /node_modules/nodebb-theme-mytheme, and again modified the json files by swapping out all instances of "vanilla" and swapping in my theme name.
This worked well, except that I found that the home page was now empty (meaning that the header exists, but the page content is empty). I renamed our custom theme to hide it from nodebb, switched back to the Vanilla theme, and restarted nodebb. I hoped this would bring me back to a working state. Unfortunately, the homepage is still blank!
My nodebb log contains:
3/12 00:12  - info: [app] Web server closed to connections.
3/12 00:12  - info: [app] Shutdown complete.
3/12 00:12  - info: Time: Sat Dec 03 2016 00:12:37 GMT+0000 (UTC)
3/12 00:12  - info: Initializing NodeBB v1.2.1
3/12 00:12  - info: NodeBB Ready
3/12 00:12  - info: Enabling 'trust proxy'
3/12 00:12  - info: NodeBB is now listening on: 0.0.0.0:4567
info: Imgbed: regex recompiled: (?<url>https?://[^\s]+/(?<filename>[\w_0-9-.]+.(jpg|jpeg|gif|gifv|png|svg))([^\s]*)?)
info: Imgbed: cache initialized to size 3
(node:26782) DeprecationWarning: Using Buffer without
new will soon stop working. Use
new Buffer(), or preferably
The connection to ws://corp.(our domain).com:4567/socket.io/?EIO=3&transport=websocket&sid=--37RXCrMAlZx2k8AAAK was interrupted while the page was loading. nodebb.min.js:5:24414
nodebb-plugin-custom-pages: loaded nodebb.min.js:11:21623
mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create