Not avaiable out of the box, but you can use something like https://github.com/julianlam/nodebb-plugin-archiver or modify it to delete the topics instead of locking.
Error: Cannot find module './Categories' linux?
On my mac I have everything working smoothly when I deployed it on my linux server everything runs fine except for the call to the
Here is how I call the module inside my
/theme.jsfile inside the root of my theme.
console.log(module.parent) var Categories = module.parent.require("./Categories");
I took a look at the result of
module.parentand I am not seeing categories available, but I do see it available locally.
I tried hard linking to the module
../../src/Categoriesbut no luck.
Does anyone have a clue why this is happening?