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?
-
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.
-
@pitaj said in Breaking change for plugins:
Which probably means spinning up a dev instance and going through each version.
Honestly, this sounds like a waste of time.
I'll just figure it out myself. Thanks anyway.
-
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.