No. I just tried and it works @PitaJ. I just changed the hook and it worked. Thank you so much! This is now solved
How to get rid of this warning: Unable to read plugin.json for plugin `nodebb-plugin-custom-plugin`
I renamed an existing custom plugin named 'map' to 'details'. And followed the same steps to reinstall the 'new' plugin (details) like creating the soft links etc. But I forgot to explicitly uninstall the map plugin first and due to which I get the following warning when I restart the nodebb.
7/1 15:19:27  - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-map`. Skipping.
How can I get rid of this warning?
Copyright © 2023 NodeBB | Contributors