Hi all, what version did you downgrade from? The newest is likely for v3 of NodeBB only
Solved Breaking change for plugins
I combed through the release notes and I likely missed the breaking change to plugins. But I can't find the change that would've broken my plugin here: https://github.com/djensen47/nodebb-plugin-dice-bot
It worked on 1.12 and breaks in 1.16
Thanks in advance!
@djensen47 are there any errors?
Could you perhaps identify which major version it was that broke it?
@pitaj No errors. No, I cannot identify which major version broke it.
I migrated one version at a time but all in one sitting.
Well someone is going to have to figure out which version caused it. Which probably means spinning up a dev instance and going through each version. In doing so, you might see some deprecation warnings that could tell you where the breakage occurred.
If you do that, I'll do what I can to help you resolve it.
I think it's something else but I am seeing this error in the logs:
error: Error: ENOENT: no such file or directory, open '/var/srv/nodebb/node_modules/nodebb-plugin-require/plugin.json'
Somehow it was uninstalled. Weird.
There was also a bug in the code. Maybe a node.js version issue.