Theme not found, from local folder
-
Stumbled across a plugin to make excerpts for my forum topics and I encountered 2 problems.
Something I guess too simple to find an answer to it. I need "remove-markdown-and-html" dependency. It's a bummer but if someone could tell me, I don't know where to install it.
And the reason I made the topic. I have my theme registered from a local folder. Activating this plugin had an issue that I remember it occured before. Whenever I do this with some plugins - maybe outdated or dunno - or deactivate them I get the error that my forum theme is not found and I have to rebuild the symlink. Then everything works. That problem is something normal in my case, is there anything I could do to prevent it from happening? My theme resides in the main folder of Nodebb.
Thank you for any help.
-
-
It sounds like you need to check your
package.json
, in the NodeBB root directory. This needs to have the correct name and version of all plugins, or NodeBB won't start. This happens automatically when you use the control panel, but not when using local folders. -
@yariplus Looking at the main
package.json
I notice that although my theme from local folder works untill something happens - and I have the problem described here - it's not listed there.Before deciding for Nodebb tried another app relying on composer and I had to manually add my local plugins, templates to main
composer.json
. I have to add my local theme topackage.json
the same way, here?