Hi,I'm new to nodeBB and I was trying to develop on Intellij.
I simply add Configuration for Grunt using the default Grunt.js in the nodeBB folder.
But I noticed something was different between running Grunt and running "nodebb --dev start".
I wrote an empty plugin using "nodebb-plugin-quickstart". It works normal on "nodebb-dev-start".
But,when I use Grunt to run it,it says "warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin nodebb-plugin-fr-exam. Skipping." And all the sudden,the empty plugin I modified doesn't work anymore.No settings on ACP , no consoles on pages(I modified from nodebb-plugin-quickstart).
What exactly did I do wrong?
I'm pretty sure the dev group is using Grunt since the building process is annoying.There's no reason I can't use Grunt ,right?Please help.
This clearly needs to be documented well and easily found. The usage message of ./nodebb setup --help should indicate the expected syntax and strikingly point out config.json is the wrong syntax in this case to be fed into ./nodebb setup.
In the long run, there should be no special case or different syntax between node app --setup and ./nodebb setup.
I fixed my own issue. Apparently some install scripts fail when run as root (or with sudo). I'm not sure why this is the case, but I got everything to work by running sudo chown -R ralph:www-data /path/to/nodebb && ./nodebb upgrade as a standard user.